コード例 #1
0
ファイル: sendSMS.class.php プロジェクト: Git-Host/sms
 public function request()
 {
     parent::auth();
     $this->params->clientBillingReference = $this->vars['clientBillingReference'];
     $this->params->originator = $this->vars['originator'];
     $this->params->destinations = $this->vars['destinations'];
     $this->params->body = utf8_encode($this->vars['body']);
     $this->params->validity = $this->vars['validity'];
     $this->params->replyMethodID = $this->vars['replyMethodID'];
     $this->params->replyData = $this->vars['replyData'];
     $this->params->statusNotificationUrl = $this->vars['statusNotificationUrl'];
     $this->params->characterSetID = $this->vars['characterSetID'];
     $this->params->clientMessageReference = $this->vars['clientMessageReference'];
     parent::clientMessageReference();
     parent::send();
     $this->log();
 }