Esempio n. 1
0
 function __construct()
 {
     parent::__construct();
     // Admins only viewing this screen
     $this->adminLoginCheck();
     if (!$this->isAdminLoggedIn()) {
         throw new PPI_Exception('Cheatin\' eh ?');
     }
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     // Admins only viewing this screen
     $this->adminLoginCheck();
     $this->addJavascript('admin-common.js');
     $this->addStylesheet('leftmenu.css');
     if (!$this->isAdminLoggedIn()) {
         throw new PPI_Exception('Cheatin\' eh ?');
     }
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
 }