thd/apps/frontend/modules/editor/actions/components.class.php
changeset 104 8e4fe6f3337d
parent 103 d2af8a210f5d
child 105 c8f710cd1fb1
--- a/thd/apps/frontend/modules/editor/actions/components.class.php	Wed Jun 01 14:07:43 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-<?php 
-
-class editorComponents extends sfComponents
-{
-  public function executeLeftPanel() {
-
-  }
-  public function executePlayer() {
-	$ref = $this->getRequestParameter('ref');
-  	$film_slug = $this->getRequestParameter('film_slug');	
-  	
-  	// retrieve infos in database
-  	$query = Doctrine_Query::create()
-      ->from('ThdFilm F')
-      ->leftJoin('F.images I ')
-      ->leftJoin('F.videos V')
-      ->where("F.ref='{$ref}'");
-    $this->film = $query->execute()->getFirst();
-	
-	// retrieve video infos
-  	$this->videos = $this->film->getVideos();
-      
-  	return sfView::SUCCESS;
-  }
-  
-  public function executeSegmentList() {
-
-  }  
-}
\ No newline at end of file