__construct() public method

public __construct ( )
Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->errorTypes = error_reporting();
     register_shutdown_function(array($this, 'fatalErrorHandler'));
     $this->addMethod('getNextId', $this, '#', array('simple' => true));
 }
Ejemplo n.º 2
0
 public function __construct($uriList = null, $async = true)
 {
     parent::__construct();
     if ($uriList != null) {
         $this->setUriList($uriList);
         if (is_bool($uriList)) {
             $async = $uriList;
         }
     }
     $this->async = $async;
 }