示例#1
0
文件: Poll.php 项目: roojs/pear
 function __construct($type, $opts, $copts)
 {
     $this->type = $type;
     $op = false;
     if (isset($opts['@op'])) {
         $op = $opts['@op'];
         unset($opts['@op']);
     }
     parent::__construct('poll', $type, $opts, $copts);
     if ($op) {
         $this->setOp($op);
     }
 }
示例#2
0
文件: Transfer.php 项目: roojs/pear
 function __construct($type, $opts, $copts)
 {
     //                    print_r($opts);
     //                    print_r($copts);
     $op = false;
     if (isset($opts['@op'])) {
         $op = $opts['@op'];
         unset($opts['@op']);
     }
     parent::__construct('transfer', $type, $opts, $copts);
     if ($op) {
         $this->setOp($op);
     }
 }
示例#3
0
 function __construct()
 {
     parent::__construct('login');
     $this->clID = $this->createElement('clID');
     $this->command->appendChild($this->clID);
     $this->pw = $this->createElement('pw');
     $this->command->appendChild($this->pw);
     $this->options = $this->createElement('options');
     $this->command->appendChild($this->options);
     $this->eppVersion = $this->createElement('version');
     $this->options->appendChild($this->eppVersion);
     $this->eppLang = $this->createElement('lang');
     $this->options->appendChild($this->eppLang);
     $this->svcs = $this->createElement('svcs');
     $this->command->appendChild($this->svcs);
 }
示例#4
0
 function __construct()
 {
     parent::__construct('poll', '');
 }
示例#5
0
 function __construct($type)
 {
     $this->type = $type;
     parent::__construct('update', $type);
 }
示例#6
0
文件: Renew.php 项目: roojs/pear
 function __construct($type, $opts, $copts)
 {
     parent::__construct('renew', $type, $opts, $copts);
 }
示例#7
0
文件: Create.php 项目: roojs/pear
 function __construct($type, $opts, $copts)
 {
     $this->type = $type;
     parent::__construct('create', $type, $opts, $copts);
 }
示例#8
0
 function __construct($type)
 {
     parent::__construct('transfer', $type);
 }
示例#9
0
 function __construct($type)
 {
     parent::__construct('renew', $type);
 }
示例#10
0
 function __construct($type)
 {
     parent::__construct('info', $type);
 }
示例#11
0
文件: Check.php 项目: roojs/pear
 function __construct($type, $opts, $copts)
 {
     parent::__construct('check', $type, $opts, $copts);
 }
示例#12
0
 function __construct()
 {
     parent::__construct('logout');
 }
示例#13
0
文件: Logout.php 项目: roojs/pear
 function __construct($params = array())
 {
     parent::__construct('logout');
     $this->addCommandParams($params);
 }
示例#14
0
 function __construct($type)
 {
     parent::__construct('check', $type);
 }