예제 #1
0
파일: sysBD.php 프로젝트: jneivil/api
 public static function getInstance()
 {
     if (!self::$_instance instanceof self) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
예제 #2
0
파일: sysEncDec.php 프로젝트: jneivil/api
 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;
 }
예제 #3
0
파일: q.php 프로젝트: jneivil/api
 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;
 }