Exemplo n.º 1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return OASEO_BOL_UrlDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemplo n.º 2
0
 /**
  * @param OASEO_BOL_Url $dto
  */
 public function saveUrl(OASEO_BOL_Url $dto)
 {
     $this->urlDao->save($dto);
 }