Exemple #1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return OASEO_BOL_MetaDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemple #2
0
 /**
  * @param string $key
  * @return OASEO_BOL_Meta
  */
 public function getEntryByKey($key)
 {
     return $this->metaDao->findEntryByKey($key);
 }