コード例 #1
0
 /**
  * Change the lock status of the specified domain
  * Warning! Open Domain Registry does NOT support locking domains, because we're using authorization codes
  * We might add this feature in the future, though
  *
  * @param string $domain The domain to change the lock state for
  * @param bool   $isLock New lock state
  *
  * @return bool True is the lock state was changed succesfully
  */
 public function lockDomain($domain, $isLock = true)
 {
     return $this->parseError('Helaas bezit de API van ODR geen mogelijkheid om domeinnamen te locken. Er wordt niets uitgevoerd.');
     if (!$this->_checkLogin()) {
         return false;
     }
     $this->odr->lockDomain($domain, $isLock);
     return $this->_checkResult(true);
 }