/** * Constructor */ public function __construct() { parent::__construct(); $this->flash = Session::get('form_errors'); $this->data = new stdClass(); $this->data->name = ""; $this->data->description = ""; }
/** * Construct */ public function __construct() { parent::__construct(); $this->flash = Session::get('form_errors'); // empty default user object to pass to the adduser view $this->data = new stdClass(); $this->data->email = ""; $this->data->username = ""; }
/** * Constructor */ public function __construct() { parent::__construct(); }