function __construct() { if (is_array($this->login_required)) { $this->login_required[] = 'list_assets'; } parent::__construct(); }
function __construct() { $this->name = 'version'; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; $this->public_actions = array('view', 'reinstate'); $this->login_required = true; parent::__construct(); }
function __construct() { $this->name = 'settings'; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; // $this->public_actions = array(); $this->login_required = true; parent::__construct(); }
function __construct() { $this->name = 'page_content'; parent::__construct(); $this->login_required = true; $this->public_actions = array('select_content_type', 'add_new_content', 'add_existing_content', 'remove_content', 'reorder'); // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; $this->base_view_dir = ROOT_DIR; }
function __construct() { $this->name = 'workflow'; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; // this whole controller requires login if called directly $this->login_required = true; $this->base_dir = APP_DIR; parent::__construct(); }
function __construct() { $this->name = 'workflow_group'; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_ADMIN; // this whole controller requires login if called directly $this->login_required = true; $this->base_dir = APP_DIR; $this->page_title = 'Workflow Groups'; parent::__construct(); }
function __construct() { $this->name = 'dashboard'; $this->default_action = 'show'; $this->page_title = 'Your Dashboard'; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; $this->login_required = true; $this->base_view_dir = ROOT_DIR; parent::__construct(); }
function __construct() { if (get_class($this) == __CLASS__) { $this->name = 'site_admin'; // login required $this->login_required = true; // set user level allowed to access the actions with required login $this->user_level_required = N_USER_NORIGHTS; // set up view caching values $this->view_cache_name = 'nterchange_site_admin'; $this->view_caching = true; $this->view_cache_lifetime = -1; // forever } parent::__construct(); }
function __construct() { parent::__construct(); }