Example #1
0
 function __construct($pBDEngine)
 {
     // Inicializamos la identificación de BD
     $this->setEngine($pBDEngine);
     $this->TimeQuery = 0;
     $this->sysBDBackup = sysBDBackup::getInstance(SERVER_HOST, SERVER_USER, SERVER_PASS, SERVER_BD, SERVER_CHARSET, SERVER_PORT);
     // Lanzamos la instancia
     // $this->sysKrn::getInstance()->procudure...
     //   or
     // $this->sysKrn = sysKrn::getInstance();
     // $this->sysKrn->procedure...
     $this->sysKrn = sysKrn::getInstance();
     $this->sysCheckTables = array(TABLA_USUARIOS, TABLA_INVITADOS, TABLA_CONFIGURACION, TABLA_URL, TABLA_PGP, TABLA_COUNTRY, TABLA_REGION, TABLA_ADDRESS, TABLA_TIPO_VIA);
     $this->sysKrnSqlFormatter = sysKrnSqlFormatter::getInstance();
     $this->sysKrn->krn_audit_log(AUDIT_EXTREME, __DIR__, __FILE__, __LINE__, __CLASS__, __METHOD__, __FUNCTION__, "::constructor (" . __CLASS__ . ")");
     return true;
 }