public function __construct()
 {
     parent::__construct();
     $this->name = 'AddLocationTasks';
     $this->description = 'Add Location to Active Tasks';
     $this->author = 'Rowlett';
     $this->active = true;
     $this->node = 'location';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddPushbulletMenuItem';
     $this->description = 'Add menu item for pushbullet';
     $this->author = 'Joe Schmitt';
     $this->active = true;
     $this->node = 'pushbullet';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddBroadcastAddresses';
     $this->description = 'Add the broadcast addresses to use WOL with';
     $this->author = 'Tom Elliott';
     $this->active = true;
     $this->node = 'wolbroadcast';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddLDAPMenuItem';
     $this->description = 'Add menu item for LDAP';
     $this->author = 'Fernando Gietz';
     $this->active = true;
     $this->node = 'ldap';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddWOLMenuItem';
     $this->description = 'Add menu item for WOL Broadcast';
     $this->author = 'Tom Elliott';
     $this->active = true;
     $this->node = 'wolbroadcast';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddLocationMenuItem';
     $this->description = 'Add menu item for location';
     $this->author = 'Tom Elliott';
     $this->active = true;
     $this->node = 'location';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'RemoveUpload';
     $this->description = 'Removes upload links for engineers';
     $this->author = 'Rowlett';
     $this->active = true;
     $this->node = 'accesscontrol';
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'AddMenuNotesItems';
     $this->description = 'Add menu items to the management page';
     $this->author = 'Rowlett';
     $this->active = true;
     $this->node = 'accesscontrol';
 }
Example #9
0
 /**
  * {@inheritdoc}
  */
 public function __construct($callback)
 {
     parent::__construct($callback);
     if (!$this->isClosure()) {
         $methodRefl = new \ReflectionMethod($callback[0], $callback[1]);
         if (!$methodRefl->isStatic()) {
             throw new \InvalidArgumentException(sprintf('"%s" hook callback: %s::%s() must be a static method', basename(str_replace('\\', '/', get_class($this))), $callback[0], $callback[1]));
         }
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'RestrictUAA';
     $this->description = 'Removes All users except the current user and ability to create/modify  users';
     $this->author = 'Rowlett';
     $this->active = true;
     $this->node = 'accesscontrol';
     $this->linksToFilter = array('users');
 }
 public function __construct()
 {
     parent::__construct();
     $this->name = 'RemoveMenuItems';
     $this->description = 'Removes menu items and restricts the links from the page';
     $this->author = 'Tom Elliott';
     $this->active = true;
     $this->node = 'accesscontrol';
     $this->getLoggedIn();
 }