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

            //specific things for this class
            $this->userManager = User::newInstance();
        }
Exemplo 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';
         }
     }
 }
Exemplo 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();
 }
Exemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->ajax = true;
     $this->model = Page::newInstance();
 }
Exemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->itemCommentManager = ItemComment::newInstance();
 }
Exemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->localeManager = OSCLocale::newInstance();
 }
Exemplo n.º 8
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->resourcesManager = ItemResource::newInstance();
 }
Exemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
 }
Exemplo n.º 10
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->categoryManager = Category::newInstance();
 }
Exemplo n.º 11
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->pageManager = Page::newInstance();
 }
Exemplo n.º 12
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->fieldManager = Field::newInstance();
 }
Exemplo n.º 13
0
 function __construct()
 {
     parent::__construct();
     $this->ajax = true;
 }
Exemplo n.º 14
0
 function __construct()
 {
     parent::__construct();
     //specific things for this class
     $this->adminManager = Admin::newInstance();
 }