Inheritance: extends LandingGear
Example #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->blog = $this->blueprint('Blog');
     $this->author = $this->blueprint('Author');
     $this->storeLensVar('active_submenu', 'Blog');
 }
Example #2
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->pg = $this->blueprint('CustomPages');
     if (!$this->pg instanceof CustomPages) {
         throw new \TypeError(\__('Custom Pages Blueprint'));
     }
 }
Example #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->author = $this->blueprint('Author');
     $this->storeLensVar('active_link', 'bridge-link-authors');
 }
Example #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->files = $this->blueprint('Files');
 }
Example #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->storeLensVar('active_submenu', ['Admin', 'Extensions']);
     $this->storeLensVar('active_link', 'bridge-link-admin-ext-gadgets');
 }
Example #6
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->pg = $this->blueprint('CustomPages');
     $this->storeLensVar('active_submenu', 'Cabins');
 }