function __construct() { parent::__construct(); $this->dao = new \cms\core\dao\UserDAO(); $this->user_id = 0; $this->user_contact_id = 0; $this->user_name = ''; $this->user_auth_token = ''; $this->user_auth_token_date = 0; $this->user_password = ''; $this->user_password_hash_date = ''; $this->user_salt = ''; $this->user_created_date = 0; $this->user_modified_date = 0; $this->user_role_id = 0; $this->user_user_type_id = 0; $this->user_status_id = 1; $this->user_visible = 1; $this->user_reset_token = ''; $this->user_reset_date = 0; $this->contact = new \cms\core\model\Contact(); $this->status = new \cms\core\model\Status(); $this->create_success_message = 'User successfully saved.'; $this->update_success_message = 'User successfully updated.'; $this->create_failure_message = 'User failed to be saved.'; $this->update_failure_message = 'User failed to be updated'; }
function __construct() { parent::__construct(); $this->dao = new FileDAO(); $this->file_user_id = 0; $this->file_name = ''; $this->file_size = 0; $this->file_visible = 1; $this->file_status_id = 1; $this->file_culture_id = 0; $this->file_parent_file_id = 0; $this->file_file_type_id = 1; $this->file_tags = ''; $this->file_type = new FileType(); $this->create_success_message = 'File successfully saved.'; $this->update_success_message = 'File successfully updated.'; $this->create_failure_message = 'File failed to be saved.'; $this->update_failure_message = 'File failed to be updated'; }
function __construct() { parent::__construct(); $this->dao = new ApiLogDAO(); }