Пример #1
0
 /**
  * @param	CWebMailDomain	$domain
  * @return	bool
  */
 function CreateDomain(&$domain)
 {
     if ($this->_connector->Execute($this->_commandCreator->CreateDomain($domain, $this->_settings))) {
         $domain->_id = $this->_connector->GetLastInsertId();
         $this->UpdateAccountsNullDomainId($domain);
         return true;
     }
     return false;
 }