| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: project_issue_table_plugin_style.inc,v 1.2 2009/02/18 18:23:43 dww Exp $ 3 4 /** 5 * @file 6 * Class for the project_issue_table Views style plugin. 7 * 8 * We mostly re-use all of the code of the core Views table style, but 9 * by having our own style plugin, we can inject our own custom classes into 10 * the table HTML to style the rows by issue status and priority. 11 * 12 * This class also does some hacks for setting the right breadcrumbs for the 13 * default issue views. 14 */ 15 16 class project_issue_table_plugin_style extends views_plugin_style_table { 17 function render() { 18 // Set the project breadcrumb. 19 if ($this->view->name == 'project_issue_project' || $this->view->name == 'project_issue_search_project') { 20 project_project_set_breadcrumb(node_load($this->view->argument['pid']->argument), TRUE); 21 } 22 23 return parent::render(); 24 } 25 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |