コード例 #1
0
ファイル: Domain.php プロジェクト: africc/php-epp2
 public function setAuthInfo($pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set('domain:authInfo/domain:pw', $pw);
 }
コード例 #2
0
ファイル: Domain.php プロジェクト: africc/php-epp2
 public function changeAuthInfo($pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set('domain:chg/domain:authInfo/domain:pw', $pw);
     return $pw;
 }
コード例 #3
0
ファイル: ContactTrait.php プロジェクト: hakger/php-epp2
 public function appendAuthInfo($path, $pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set($path, $pw);
     return $pw;
 }