public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; $this->_id = isset($data->id) ? (int) $data->id : 0; $this->_user = $this->_load_user($this->_id); }
public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; }
public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; $this->_user = $this->_default_user(); }
public function __construct($data = NULL) { parent::__construct($data); }