function __construct() { parent::__construct(); //specific things for this class $this->userManager = User::newInstance(); }
function __construct() { parent::__construct(); $this->ajax = true; if ($this->isModerator()) { if (!in_array($this->action, array('items', 'media', 'comments', 'custom'))) { $this->action = 'error_permissions'; } } }
function __construct() { parent::__construct(); if ($this->isModerator()) { if ($this->action != 'edit' && $this->action != 'edit_post' || Params::getParam('id') != '' && Params::getParam('id') != osc_logged_admin_id()) { osc_add_flash_error_message(_m("You don't have enough permissions"), 'admin'); $this->redirectTo(osc_admin_base_url()); } } //specific things for this class $this->adminManager = Admin::newInstance(); }
function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->ajax = true; $this->model = Page::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class $this->itemCommentManager = ItemComment::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class $this->localeManager = OSCLocale::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class $this->resourcesManager = ItemResource::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class }
function __construct() { parent::__construct(); //specific things for this class $this->categoryManager = Category::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class $this->pageManager = Page::newInstance(); }
function __construct() { parent::__construct(); //specific things for this class $this->fieldManager = Field::newInstance(); }
function __construct() { parent::__construct(); $this->ajax = true; }
function __construct() { parent::__construct(); //specific things for this class $this->adminManager = Admin::newInstance(); }