public function __construct($sleepTime, $max)
 {
     parent::__construct();
     self::$code++;
     $this->sleepTime = $sleepTime;
     $this->max = $max;
 }
Beispiel #2
0
 function __construct()
 {
     parent::__construct();
     if (isset($_GET['thread_id']) && is_numeric($_GET['thread_id'])) {
         $this->initialiseThread($_GET['thread_id']);
     }
     $this->url = BASE_URL . DS . '?' . $this->trimURLforEditor();
 }
 /**
  * Constructor
  *
  * @param   remote.server.deploy.scan.DeploymentScanner scanner
  */
 public function __construct($scanner)
 {
     parent::__construct('scanner');
     $this->scanner = $scanner;
     $this->storage = new ShmSegment(0x3c872747);
     if (!$this->storage->isEmpty()) {
         $this->storage->remove();
     }
 }
 public function __construct($delegate, $locked = true)
 {
     parent::__construct();
     $this->delegate = $delegate;
     $mutex = 'MutexImpl';
     if ($locked === false) {
         $mutex = 'NopMutexImpl';
     }
     $this->mutex = new $mutex($this);
 }
Beispiel #5
0
 function __construct()
 {
     parent::__construct();
     $this->home = 'home';
     $this->page_error = "";
     $this->homeTemplates = array('home' => ['home', 'nonmember']);
     $this->homeScripts = array();
     $this->setHomeTemplates();
     $this->scriptspresent = FALSE;
     $this->setUser();
     $this->search = false;
 }
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('server');
 }
 public function __construct(S2Dao_Map $map)
 {
     parent::__construct(__CLASS__);
     $this->map = $map;
 }
 public function __construct($resultParts)
 {
     parent::__construct();
     $this->parts = $resultParts;
 }
Beispiel #9
0
 public function __construct()
 {
     parent::__construct();
     $this->page = 'block';
 }
Beispiel #10
0
 /**
  * コンストラクタ
  */
 public function __construct()
 {
     parent::__construct();
     $this->getdat_error_msg_ht = "";
 }
 public function __construct(Runnable $job, $method)
 {
     parent::__construct();
     $this->synchronus = array($job, $method);
 }
 public function __construct(HttpUrl $url)
 {
     parent::__construct();
     $this->connection = new HttpConnection($url);
     $this->connection->open(HttpConnection::nonBlocking);
 }
Beispiel #13
0
 public function __construct()
 {
     parent::__construct();
     $this->a = new A();
     $this->b = new B();
 }