public function __construct() { $now = date('YmdHis'); $this->value = $now; $this->data = array('value' => $this->value, 'field' => 'log_test', 'rel_type' => 'log_unit_test'); }