Ejemplo n.º 1
0
 /**
  * Construct and load help element
  *
  * @param string $module
  * @param string $version_number
  * @param string $path
  * @param bool   $load
  */
 public function __construct($module, $version_number, $path, $load = true)
 {
     $this->version_number = $version_number;
     parent::__construct($module, $path, $load);
 }
Ejemplo n.º 2
0
 /**
  * Construct and load help element
  *
  * @param Project $project
  * @param string  $version_number
  * @param string  $path
  * @param bool    $load
  */
 public function __construct(Project $project, $version_number, $path, $load = true)
 {
     $this->version_number = $version_number;
     parent::__construct($project, $path, $load);
 }
Ejemplo n.º 3
0
 /**
  * Construct and load help element
  *
  * @param string      $module
  * @param Book|string $book
  * @param string      $path
  * @param bool        $load
  */
 public function __construct($module, $book, $path, $load = true)
 {
     $this->book_name = $book instanceof Book ? $book->getShortName() : $book;
     parent::__construct($module, $path, $load);
 }