Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/** * @param CCommonSubAdmin $newSubadmin * @return bool */ function CreateSubAdmin(&$newSubadmin) { if ($this->_connector->Execute($this->_commandCreator->CreateSubAdmin($newSubadmin))) { $newSubadmin->Id = $this->_connector->GetLastInsertId(); if (count($newSubadmin->DomainIds) > 0) { return $this->_connector->Execute($this->_commandCreator->AddSubAdminDomain($newSubadmin->Id, $newSubadmin->DomainIds)); } return true; } return false; }