/**
  * Returns the static model of the specified AR class.
  * @return Docs the static model class
  */
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }
Exemple #2
0
 /**
  * 返回惟一实例
  *
  * @return Model
  */
 public static function model()
 {
     return parent::model(__CLASS__);
 }