this-> GetDBRamHelo

(Caronte Pcode version 2.0)

Description

CDB_Ram this->GetDBRamHelo (void);

Gets the list of the RFC presentations that refer to the server, and loads it in a CDB_Ram class variable. The DB will be refreshed with the "Refresh" button in the "Antispam Level One" section.

Example.

Source:

#import( class , HashArray )
#import( class , CDB_Ram )

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

CDB_Ram db = this->GetDBRamHelo();

HashArray indexkey = new HashArray();
db->Query(0,indexkey,0);

for (int i = 0; i < indexkey->GetRecordCount(); i++)
{

this->Print(indexkey->GetByIndexS(i) + "\n");

}

delete indexkey;

return 0;


}




Out:

localhost

127.0.0.1