this-> GetDBRamDomains

(Caronte Pcode version 2.0)

Description

CDB_Ram this->GetDBRamDomains (void);

Load the local domains database in a variable.

Example.

Source:

#define LD_ED_MAR_REJECT 256

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

if (this->InsertDomain(domain) == -1)
{

return 0;
}
CDomainConf pconfdomain = this->GetDomain(domain);

property += LD_ED_MAR_REJECT;

pconfdomain->WaitForSession();
pconfdomain->StartSession();
pconfdomain->SetVar("proprieta",this->Format("%d",property));
pconfdomain->Save();
pconfdomain->EndSession();

this->SaveDomains();

return 0;

}