コード例 #1
0
ファイル: theme_content_dao.php プロジェクト: vazahat/dudex
 /**
  * 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
ファイル: theme_service.php プロジェクト: hardikamutech/loov
 /**
  * Saves and updates BOL_ThemeContent objects
  *
  * @param BOL_ThemeContent $dto
  */
 public function saveThemeContent(BOL_ThemeContent $dto)
 {
     $this->themeContentDao->save($dto);
 }