Exemple #1
0
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
     if (function_exists('pcntl_fork') === false) {
         throw new \Exception('You have to compile the CGI or CLI version of PHP with --enable-pcntl configuration option when compiling PHP to use MThread');
     }
 }
 /**
  * RequestBook constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->filterBook = new FilterBook();
     $this->orderClauseBook = new OrderClauseBook();
     $this->paginationBook = new PaginationBook();
 }
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
     $this->lastError = new MSqlError();
 }
Exemple #4
0
 /**
  * @param \MToolkit\Core\MObject $parent
  */
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
 }
 public function __construct(MAbstractController $parent = null)
 {
     parent::__construct($parent);
     $this->httpResponse = new MHttpResponse();
 }
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
     $this->headers = new MHttpHeaders();
 }
 /**
  * Constructs an abstract controller with the given <i>$parent</i>.
  * 
  * @param MObject $parent
  */
 public function __construct(MObject $parent = null)
 {
     parent::__construct($parent);
     $this->httpResponse = new MHttpResponse();
     $this->controls = new MMap();
 }