Exemplo n.º 1
0
 /**
  * {@inherit}
  *
  * {@inherit}
  */
 public function __construct(array $params = [])
 {
     if (!is_file(self::SCRIPT_NAME)) {
         throw new CallbackException("The handler script \"scriptProxy.php\" does not exist in the folder \"script\"");
     }
     if (!isset($params['rpc_callback'])) {
         throw new CallbackException("The necessary parameter \"rpc_callback\" is expected");
     }
     parent::__construct(array_merge(['script_name' => self::SCRIPT_NAME], $params));
     $this->callbackOptions = $params;
 }
Exemplo n.º 2
0
 public function __construct($p_oRequest)
 {
     parent::__construct($p_oRequest);
 }
Exemplo n.º 3
0
 public function __construct($argc, array $argv)
 {
     $this->_script_name = array_shift($argv);
     parent::__construct($argc, $argv);
 }