Пример #1
0
 /**
  * @param string $template The path of the file containing the html of the controller.
  * @param MAbstractViewController $parent
  */
 public function __construct($template, MAbstractViewController $parent = null)
 {
     parent::__construct($parent);
     $this->template = $template;
     $this->controls = new MMap();
     $this->attributes = new MMap();
 }
Пример #2
0
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
     $this->response = new MRPCJsonResponse();
 }
 /**
  * @param string $template The path of the file containing the html of the controller.
  * @param MViewController $parent
  */
 public function __construct($template, MViewController $parent = null)
 {
     parent::__construct($parent);
     $this->template = $template;
 }