airshipLand() public method

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )
コード例 #1
0
ファイル: Blog.php プロジェクト: paragonie/airship
 /**
  * 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->blog = $this->blueprint('Blog');
     $this->author = $this->blueprint('Author');
     $this->storeLensVar('active_submenu', 'Blog');
 }
コード例 #2
0
ファイル: Redirects.php プロジェクト: paragonie/airship
 /**
  * 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->pg = $this->blueprint('CustomPages');
     if (!$this->pg instanceof CustomPages) {
         throw new \TypeError(\__('Custom Pages Blueprint'));
     }
 }
コード例 #3
0
ファイル: Author.php プロジェクト: paragonie/airship
 /**
  * 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->author = $this->blueprint('Author');
     $this->storeLensVar('active_link', 'bridge-link-authors');
 }
コード例 #4
0
ファイル: FileManager.php プロジェクト: paragonie/airship
 /**
  * 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->files = $this->blueprint('Files');
 }
コード例 #5
0
ファイル: Gadgets.php プロジェクト: paragonie/airship
 /**
  * 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-gadgets');
 }
コード例 #6
0
ファイル: PageManager.php プロジェクト: paragonie/airship
 /**
  * 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->pg = $this->blueprint('CustomPages');
     $this->storeLensVar('active_submenu', 'Cabins');
 }