Наследование: extends LoggedInUsersOnly
Пример #1
0
 /**
  * This function is called after the dependencies have been injected by
  * AutoPilot. Think of it as a user-land constructor.
  */
 public function airshipLand()
 {
     parent::airshipLand();
     $this->perms = $this->blueprint('Permissions');
     $this->users = $this->blueprint('UserAccounts');
     $this->storeLensVar('active_submenu', ['Admin', 'Crew']);
     $this->storeLensVar('active_link', 'bridge-link-admin-crew-perms');
 }
Пример #2
0
 /**
  * This function is called after the dependencies have been injected by
  * AutoPilot. Think of it as a user-land constructor.
  *
  * @throws \TypeError
  */
 public function airshipLand()
 {
     parent::airshipLand();
     $this->skyport = $this->blueprint('Skyport');
     if (!$this->skyport instanceof SkyportBP) {
         throw new \TypeError(\__('Skyport Blueprint'));
     }
     $this->storeLensVar('active_submenu', ['Admin', 'Extensions']);
     $this->storeLensVar('active_link', 'bridge-link-skyport');
 }
Пример #3
0
 /**
  * This function is called after the dependencies have been injected by
  * AutoPilot. Think of it as a user-land constructor.
  */
 public function airshipLand()
 {
     parent::airshipLand();
     $this->acct = $this->blueprint('UserAccounts');
     if (!empty($_GET['msg'])) {
         if ($_GET['msg'] === 'saved') {
             $this->storeLensVar('post_response', ['status' => 'OK', 'message' => \__('Your changes have been made successfully.')]);
         }
     }
     $this->storeLensVar('active_submenu', 'Admin');
 }
Пример #4
0
 /**
  * This function is called after the dependencies have been injected by
  * AutoPilot. Think of it as a user-land constructor.
  */
 public function airshipLand()
 {
     parent::airshipLand();
     $this->storeLensVar('active_submenu', ['Admin', 'Extensions']);
     $this->storeLensVar('active_link', 'bridge-link-admin-ext-motifs');
 }
Пример #5
0
 /**
  * This function is called after the dependencies have been injected by
  * AutoPilot. Think of it as a user-land constructor.
  */
 public function airshipLand()
 {
     parent::airshipLand();
     $this->account = $this->blueprint('UserAccounts');
     $this->storeLensVar('active_submenu', ['Admin', 'Crew']);
 }