Beispiel #1
0
 /**
  * Model Instance
  *
  * Returns a static model of the specified ActiveRecord class. This exact method should be in all classes that
  * extend CActiveRecord.
  *
  * @access public
  * @param string $class_name
  * @return User
  */
 public static function model($class_name = __CLASS__)
 {
     return parent::model($class_name);
 }