This function is called after the dependencies have been injected by
AutoPilot. Think of it as a user-land constructor.
public airshipLand ( ) |
/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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']); }