function __construct() { parent::__construct(); $CI =& get_instance(); $this->fields = array('name' => NULL, 'display' => false, 'company' => isset($CI->company) ? $CI->company->id : NULL, 'uid' => isset($CI->user) ? $CI->user->id : NULL, 'time_insert' => 0, 'time' => $this->date->now); }
function __construct() { parent::__construct(); }