public static function getInstance() { if (!self::$_instance instanceof self) { self::$_instance = new self(); } return self::$_instance; }
function __construct() { // Instanciamos la clase $this->sysUtils = sysUtils::getInstance(); $this->sysKrn = $this->sysUtils->getsysKrn(); $this->sysBD = sysBD::getInstance(); $this->sysPGP = sysPGP::getInstance(); $this->sysCryptAES = $this->sysPGP->getsysCryptAES(); $this->sysCryptRSA = $this->sysPGP->getsysCryptRSA(); $this->sysKrn->krn_audit_log(AUDIT_EXTREME, __DIR__, __FILE__, __LINE__, __CLASS__, __METHOD__, __FUNCTION__, "::constructor (" . __CLASS__ . ")"); return true; }
function __construct() { $this->sysBD = sysBD::getInstance(); $this->sysKrn = $this->sysBD->getsysKrn(); $this->sysUtils = sysUtils::getInstance(); // 3rd party $this->sysKrnSqlFormatter = sysKrnSqlFormatter::getInstance(); // 3rd party $this->sysKrnMobile_Detect = sysKrnMobile_Detect::getInstance(); $this->sysEncDec = sysEncDec::getInstance(); $this->URL = ''; $this->sysKrn->krn_audit_log(AUDIT_EXTREME, __DIR__, __FILE__, __LINE__, __CLASS__, __METHOD__, __FUNCTION__, "::constructor (" . __CLASS__ . ")"); return true; }