Beispiel #1
0
 /**
  * Registry the self instance
  */
 private function registryInstance()
 {
     if (!ORMRegistry::offsetExists("class\\VTRORM\\ORMSettings")) {
         ORMRegistry::setInRef("class\\VTRORM\\ORMSettings", $this);
     }
 }
Beispiel #2
0
 /**
  * Registry the self instance
  */
 private function registryInstance()
 {
     if (!ORMRegistry::offsetExists("class\\VTRORM\\Database\\Connection")) {
         ORMRegistry::setInRef("class\\VTRORM\\Database\\Connection", $this);
     }
 }