thd/apps/frontend/modules/homepage/actions/components.class.php
changeset 104 8e4fe6f3337d
parent 103 d2af8a210f5d
child 105 c8f710cd1fb1
--- a/thd/apps/frontend/modules/homepage/actions/components.class.php	Wed Jun 01 14:07:43 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-<?php 
-
-class homepageComponents extends sfComponents
-{
-  public function executeLeftPanel() {
-
-  }
-  public function executeSearch() {
-
-  }
-  public function executeTagList() {
-	
-  }
-  
-  public function executeRandomFilm() {
-	
-  }
-  
-  public function executeLastTaggedList() {
-	$query = Doctrine_Query::create()
-      ->from('ThdFilm F')
-      ->leftJoin('F.images I ')
-      ->leftJoin('F.videos V')
-      //->where("cu.code='{$culture}' AND mo.code='{$module}' AND ms.code='{$section}'")
-      ->orderBy('F.id DESC')
-      ->limit(0,10);
-    $this->lastTaggedFilms = $query->execute();
-    $this->videoPath = sfConfig::get('app_player_videoPath');
-    
-  }
-  public function executeMostTaggedList() {
-	$query = Doctrine_Query::create()
-      ->from('ThdFilm F')
-      ->leftJoin('F.images I ')
-      ->leftJoin('F.videos V')
-      //->where("cu.code='{$culture}' AND mo.code='{$module}' AND ms.code='{$section}'")
-      ->orderBy('F.ref ASC')
-      ->limit(0,10);
-    $this->mostTaggedFilms = $query->execute();
-    $this->videoPath = sfConfig::get('app_player_videoPath');
-  }
-}
\ No newline at end of file