diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-03-23 04:17:29 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-03-23 04:17:29 +0000 |
commit | 8041073c8d74e5d24e3b9f10143f3e4bd04db2de (patch) | |
tree | 89827aac40d499a41c4deae85719712630836568 /includes/video_views_handler_field_play.inc | |
parent | b66f50d2ce11d0cc8bb53af94ad86278d3fe8e51 (diff) | |
download | video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.gz video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.bz2 |
removing old files and commenting new file field and other files to the vidoe module page.
Diffstat (limited to 'includes/video_views_handler_field_play.inc')
-rw-r--r-- | includes/video_views_handler_field_play.inc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/includes/video_views_handler_field_play.inc b/includes/video_views_handler_field_play.inc deleted file mode 100644 index 1eac89e..0000000 --- a/includes/video_views_handler_field_play.inc +++ /dev/null @@ -1,31 +0,0 @@ -<?php -//$Id$ -/** -* Implementation of hook_views_tables -* -* @return -* array - Enables support in the video module for views integration - * @author Glen Marianko Twitter@demoforum <glenm at demoforum dot com> - * @todo -**/ - -/** - * Field handler to display the play length of the video. - * - * @ingroup views_field_handlers - */ -class video_views_handler_field_play extends views_handler_field { - /** - * Render field output to the browser. - */ - function render($values) { - return _video_views_handler_field_play($values); - } -} -/** -* Handler to to render the "Play" link field -**/ -function _video_views_handler_field_play($values) { - if($values->node_type && $values->node_type != 'video') return NULL; - return l(t('Play'), "node/$values->nid/play", array()); -} |