--- /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