예제 #1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return BOL_ThemeContentDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
예제 #2
0
 /**
  * Saves and updates BOL_ThemeContent objects
  *
  * @param BOL_ThemeContent $dto
  */
 public function saveThemeContent(BOL_ThemeContent $dto)
 {
     $this->themeContentDao->save($dto);
 }