16 lines
224 B
PHP
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';
|
|
}
|
|
}
|
|
|