(no commit message)
authorymh <ymh.work@gmail.com>
Fri, 30 Apr 2010 05:19:27 +0200
changeset 109 b926f45438d1
parent 108 e5f3770296ad
child 110 6c31428e26ab
(no commit message)
web/thdProject/apps/frontend/modules/reflex/actions/components.class.php
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/thdProject/apps/frontend/modules/reflex/actions/components.class.php	Fri Apr 30 05:19:27 2010 +0200
@@ -0,0 +1,25 @@
+<?php 
+
+class tagComponents extends sfComponents
+{
+  
+  public function executeTagNavigator() {
+
+	return sfView::SUCCESS;
+  }
+  
+  public function executePlayer() {
+  	
+  	if($this->film) {
+        $videos = $this->film->getVideos();
+        $this->filmVideo = ($videos) ? $videos[0] : null;
+  		  		
+  		return sfView::SUCCESS;
+  	}
+  	else
+  	    return sfView::NONE;
+  
+  }
+
+ 
+}
\ No newline at end of file