chinese-journal/yii/protected/models/Post.php

16 lines
224 B
PHP
Raw Permalink Normal View History

2014-11-21 08:26:20 +00:00
<?php
class Post extends CActiveRecord
{
public static function model($className=__CLASS__)
{
return parent::model($className);
}
public function tableName()
{
return 'tbl_post';
}
}