chinese-journal/yii/protected/models/Post.php
2014-11-21 08:26:20 +00:00

16 lines
224 B
PHP

<?php
class Post extends CActiveRecord
{
public static function model($className=__CLASS__)
{
return parent::model($className);
}
public function tableName()
{
return 'tbl_post';
}
}