Esempio n. 1
0
        function __construct()
        {
            parent::__construct();

            //specific things for this class
            $this->userManager = User::newInstance();
        }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     $this->ajax = true;
     if ($this->isModerator()) {
         if (!in_array($this->action, array('items', 'media', 'comments', 'custom'))) {
             $this->action = 'error_permissions';
         }
     }
 }
Esempio n. 3
0
 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();
 }
Esempio n. 4
0
 function __construct()
 {
     parent::__construct();
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct();
     $this->ajax = true;
     $this->model = Page::newInstance();
 }
Esempio n. 6
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->itemCommentManager = ItemComment::newInstance();
 }
Esempio n. 7
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->localeManager = OSCLocale::newInstance();
 }
Esempio n. 8
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->resourcesManager = ItemResource::newInstance();
 }
Esempio n. 9
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
 }
Esempio n. 10
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->categoryManager = Category::newInstance();
 }
Esempio n. 11
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->pageManager = Page::newInstance();
 }
Esempio n. 12
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->fieldManager = Field::newInstance();
 }
Esempio n. 13
0
 function __construct()
 {
     parent::__construct();
     $this->ajax = true;
 }
Esempio n. 14
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->adminManager = Admin::newInstance();
 }