__construct() public méthode

public __construct ( )
Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     $this->errorTypes = error_reporting();
     register_shutdown_function(array($this, 'fatalErrorHandler'));
     $this->addMethod('getNextId', $this, '#', array('simple' => true));
 }
Exemple #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;
 }