__construct() публичный Метод

Create an instance of WPDKViewController class
public __construct ( string $id, string $title ) : WPDKViewController
$id string The unique id for this view controller
$title string The title of this view controller. This is displayed on top header
Результат WPDKViewController
Пример #1
0
 /**
  * Create an instane of WPDKjQueryTabsViewController class
  *
  * @brief Construct
  *
  * @param string             $id         A lowercase id used in HTML markup
  * @param string             $title      The view controller title
  * @param WPDKjQueryTabsView $view       An instance of WPDKjQueryTabView class
  *
  * @return WPDKjQueryTabsViewController
  */
 public function __construct($id, $title, $view)
 {
     parent::__construct($id, $title);
     $this->view->addSubview($view);
 }