YII 按照日期过滤不起作用,怎么回事?
YII 按照日期过滤不起作用,怎么回事?
模型
1 2 3 4 5 6 | <br><?php <br /><br> <br> class Timefliter extends CActiveRecord<br>{<br> <br> public static function model( $className = __CLASS__ )<br> {<br> return parent::model( $className );<br> }<br><br> <br> public function tableName()<br> {<br> return 't_time' ;<br> }<br><br> <br> public $starttime ;<br> public $endtime ; <br> <br> <br> <br> public function rules()<br> {<br>
</div>
|
Salin selepas log masuk