1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php require_once( realpath(dirname(__FILE__)) . '/../common/ActiveRecordModel.php'); class LogContactUsEmail extends ActiveRecordModelBase { static $table_name = 'log_contact_us_email'; static $before_create = array('fill_before_create'); public function fill_before_create() { $now = date("Y-m-d H:i:s"); $this->create_on = $now; } }
|