コード例 #1
0
ファイル: News.php プロジェクト: vasitjuntong/carsnru
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }
コード例 #2
0
ファイル: News.php プロジェクト: GeneralCrime/code
 /**
  * Call the parent's constructor because the object name needs to be set.
  * <p/>
  * To create an instance of this object, just call
  * <code>
  * use APF\extensions\news\biz\News;
  * $object = new News();
  * </code>
  *
  * @param string $objectName The internal object name of the domain object.
  */
 public function __construct($objectName = null)
 {
     parent::__construct();
 }