コード例 #1
0
ファイル: StasisStart.php プロジェクト: stgnet/phparia
 /**
  * @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;
 }
コード例 #2
0
 public function __construct(DBServer $DBServer, $NewIPAddress, $NewLocalIPAddress = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->NewIPAddress = $NewIPAddress;
     $this->NewLocalIPAddress = $NewLocalIPAddress;
 }
コード例 #3
0
ファイル: ChannelDialplan.php プロジェクト: stgnet/phparia
 /**
  * @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;
 }
コード例 #4
0
 public function __construct(DBServer $dBServer, $check, $details)
 {
     parent::__construct();
     $this->dBServer = $dBServer;
     $this->check = $check;
     $this->details = $details;
 }
コード例 #5
0
 public function __construct(DBServer $DBServer, $BundleTaskID, $LastErrorMessage)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->BundleTaskID = $BundleTaskID;
     $this->LastErrorMessage = $LastErrorMessage;
 }
コード例 #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;
 }
コード例 #7
0
 public function __construct(DBServer $DBServer, $Operation, $SnapInfo)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Operation = $Operation;
     $this->SnapshotInfo = $SnapInfo;
 }
コード例 #8
0
 /**
  * @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');
 }
コード例 #9
0
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #11
0
 public function __construct(DBServer $DBServer, $SnapURL, DBServer $OldMasterDBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapURL = $SnapURL;
     $this->OldMasterDBServer = $OldMasterDBServer;
 }
コード例 #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');
 }
コード例 #13
0
 public function __construct(DBServer $DBServer, $DeviceName, $VolumeID)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
コード例 #14
0
ファイル: ChannelCallerId.php プロジェクト: stgnet/phparia
 /**
  * @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);
 }
コード例 #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);
 }
コード例 #16
0
ファイル: ChannelCallerId.php プロジェクト: wormling/phparia
 /**
  * @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);
 }
コード例 #17
0
ファイル: StasisStart.php プロジェクト: wormling/phparia
 /**
  * @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);
 }
コード例 #18
0
ファイル: ChannelVarset.php プロジェクト: stgnet/phparia
 /**
  * @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;
 }
コード例 #19
0
ファイル: ChannelDialplan.php プロジェクト: wormling/phparia
 /**
  * @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');
 }
コード例 #20
0
 public function __construct($RemoveZoneFromDNS, $KeepElasticIPs, $TermOnSyncFail, $KeepEBS)
 {
     parent::__construct();
     $this->RemoveZoneFromDNS = $RemoveZoneFromDNS;
     $this->KeepElasticIPs = $KeepElasticIPs;
     $this->TermOnSyncFail = $TermOnSyncFail;
     $this->KeepEBS = $KeepEBS;
 }
コード例 #21
0
 public function __construct(DBServer $DBServer, $Mountpoint, $VolumeID, $DeviceName = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Mountpoint = $Mountpoint;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
コード例 #22
0
ファイル: EventImmutable.php プロジェクト: rokite/windwalker
 /**
  * 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);
 }
コード例 #23
0
 public function __construct(DBServer $DBServer, $InternalIP, $ExternalIP, $PublicKey)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->InternalIP = $InternalIP;
     $this->ExternalIP = $ExternalIP;
     $this->PublicKey = $PublicKey;
 }
コード例 #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);
 }
コード例 #25
0
ファイル: systemaction.php プロジェクト: Zyr93/DiamondMVC
 public function __construct($controller, $action, $view = '', $tpl = '')
 {
     parent::__construct('system::action');
     $this->controller = $controller;
     $this->action = $action;
     $this->view = $view;
     $this->template = $tpl;
 }
コード例 #26
0
 /**
  * @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;
 }
コード例 #27
0
 public function __construct(DBServer $DBServer, $SnapshotID, $BundleTaskID, $MetaData = array())
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapshotID = $SnapshotID;
     $this->BundleTaskID = $BundleTaskID;
     $this->MetaData = $MetaData;
 }
コード例 #28
0
 function __construct($user_id)
 {
     if (is_numeric($user_id)) {
         parent::__construct();
         $this->user_id = $user_id;
     } else {
         $this->user_id = null;
     }
 }
コード例 #29
0
 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']);
     }
 }
コード例 #30
0
 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;
     }
 }