Example #1
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->args = $this->response->args;
     $this->channel = new Channel($client, $this->response->channel);
     $this->replaceChannel = property_exists($this->response, 'replace_channel') ? new Channel($client, $this->response->replace_channel) : null;
 }
 public function __construct(DBServer $DBServer, $NewIPAddress, $NewLocalIPAddress = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->NewIPAddress = $NewIPAddress;
     $this->NewLocalIPAddress = $NewLocalIPAddress;
 }
Example #3
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = new Channel($client, $this->response->channel);
     $this->dialplanApp = $this->response->dialplan_app;
     $this->dialplanAppData = $this->response->dialplan_app_data;
 }
Example #4
0
 public function __construct(DBServer $dBServer, $check, $details)
 {
     parent::__construct();
     $this->dBServer = $dBServer;
     $this->check = $check;
     $this->details = $details;
 }
 public function __construct(DBServer $DBServer, $BundleTaskID, $LastErrorMessage)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->BundleTaskID = $BundleTaskID;
     $this->LastErrorMessage = $LastErrorMessage;
 }
Example #6
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = new Channel($client, $this->response->channel);
     $this->digit = $this->response->digit;
     $this->durationMs = $this->response->duration_ms;
 }
 public function __construct(DBServer $DBServer, $Operation, $SnapInfo)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Operation = $Operation;
     $this->SnapshotInfo = $SnapInfo;
 }
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->cause = $this->getResponseValue('cause');
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->soft = $this->getResponseValue('soft');
 }
 /**
  * Create a new event instance.
  *
  * @param  User $user
  * @return void
  */
 public function __construct(User $user, $password, $fromSocial = false, array $params = [], $locale = null)
 {
     parent::__construct($params, $locale);
     $this->user = $user;
     $this->password = $password;
     $this->fromSocial = $fromSocial;
 }
Example #10
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->cause = property_exists($this->response, 'cause') ? $this->response->cause : null;
     $this->channel = new Channel($client, $this->response->channel);
     $this->soft = property_exists($this->response, 'soft') ? $this->response->soft : null;
 }
 public function __construct(DBServer $DBServer, $SnapURL, DBServer $OldMasterDBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapURL = $SnapURL;
     $this->OldMasterDBServer = $OldMasterDBServer;
 }
Example #12
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->digit = $this->getResponseValue('digit');
     $this->durationMs = $this->getResponseValue('duration_ms');
 }
 public function __construct(DBServer $DBServer, $DeviceName, $VolumeID)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
Example #14
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->callerPresentation = $this->response->caller_presentation;
     $this->callerPresentationTxt = $this->response->caller_presentation_txt;
     $this->channel = new Channel($client, $this->response->channel);
 }
Example #15
0
 /**
  * @param ProjectMember $member
  * @param Project $project
  * @param User $user
  * @param array $config
  */
 public function __construct($member, $project, $user, $config = [])
 {
     $this->member = $member;
     $this->project = $project;
     $this->user = $user;
     parent::__construct($config);
 }
Example #16
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->callerPresentation = $this->getResponseValue('caller_presentation');
     $this->callerPresentationTxt = $this->getResponseValue('caller_presentation_txt');
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
 }
Example #17
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->args = $this->getResponseValue('args');
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->replaceChannel = $this->getResponseValue('replace_channel', '\\phparia\\Resources\\Channel', $client);
 }
Example #18
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = property_exists($this->response, 'channel') ? new Channel($client, $this->response->channel) : null;
     $this->value = property_exists($this->response, 'value') ? $this->response->value : null;
     $this->variable = property_exists($this->response, 'variable') ? $this->response->variable : null;
 }
Example #19
0
 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->dialplanApp = $this->getResponseValue('dialplan_app');
     $this->dialplanAppData = $this->getResponseValue('dialplan_app_data');
 }
 public function __construct($RemoveZoneFromDNS, $KeepElasticIPs, $TermOnSyncFail, $KeepEBS)
 {
     parent::__construct();
     $this->RemoveZoneFromDNS = $RemoveZoneFromDNS;
     $this->KeepElasticIPs = $KeepElasticIPs;
     $this->TermOnSyncFail = $TermOnSyncFail;
     $this->KeepEBS = $KeepEBS;
 }
 public function __construct(DBServer $DBServer, $Mountpoint, $VolumeID, $DeviceName = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Mountpoint = $Mountpoint;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
Example #22
0
 /**
  * Constructor.
  *
  * @param   string  $name       The event name.
  * @param   array   $arguments  The event arguments.
  *
  * @throws  \BadMethodCallException
  *
  * @since   2.0
  */
 public function __construct($name, array $arguments = array())
 {
     if ($this->constructed) {
         throw new \BadMethodCallException(sprintf('Cannot reconstruct the EventImmutable %s.', $this->name));
     }
     $this->constructed = true;
     parent::__construct($name, $arguments);
 }
 public function __construct(DBServer $DBServer, $InternalIP, $ExternalIP, $PublicKey)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->InternalIP = $InternalIP;
     $this->ExternalIP = $ExternalIP;
     $this->PublicKey = $PublicKey;
 }
Example #24
0
 /**
  * Constructor.
  * @param mixed $sender sender of the event
  * @param string $code error code
  * @param string $message error message
  * @param string $file error file
  * @param integer $line error line
  */
 public function __construct($sender, $code, $message, $file, $line)
 {
     $this->code = $code;
     $this->message = $message;
     $this->file = $file;
     $this->line = $line;
     parent::__construct($sender);
 }
Example #25
0
 public function __construct($controller, $action, $view = '', $tpl = '')
 {
     parent::__construct('system::action');
     $this->controller = $controller;
     $this->action = $action;
     $this->view = $view;
     $this->template = $tpl;
 }
 /**
  * @param string $name
  * @param ExerciseInterface $exercise
  * @param Input $input
  * @param array $parameters
  */
 public function __construct($name, ExerciseInterface $exercise, Input $input, array $parameters = [])
 {
     $parameters['input'] = $input;
     $parameters['exercise'] = $exercise;
     parent::__construct($name, $parameters);
     $this->exercise = $exercise;
     $this->input = $input;
 }
 public function __construct(DBServer $DBServer, $SnapshotID, $BundleTaskID, $MetaData = array())
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapshotID = $SnapshotID;
     $this->BundleTaskID = $BundleTaskID;
     $this->MetaData = $MetaData;
 }
 function __construct($user_id)
 {
     if (is_numeric($user_id)) {
         parent::__construct();
         $this->user_id = $user_id;
     } else {
         $this->user_id = null;
     }
 }
 public function __construct(DBServer $DBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $r_server = Core::GetDBInstance()->GetRow("SELECT server_id FROM servers WHERE replace_server_id=?", array($DBServer->serverId));
     if ($r_server) {
         $this->replacementDBServer = DBServer::LoadByID($r_server['server_id']);
     }
 }
 function __construct($organisation_unit_id)
 {
     if (is_numeric($organisation_unit_id)) {
         parent::__construct();
         $this->organisation_unit_id = $organisation_unit_id;
     } else {
         $this->organisation_unit_id = null;
     }
 }