| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: station_schedule_handler_field_iid_link_edit.inc,v 1.1 2008/12/01 17:09:41 drewish Exp $ 3 /** 4 * Field handler to present a link node edit. 5 */ 6 class station_schedule_handler_field_iid_link_edit extends station_schedule_handler_field_iid_link { 7 function render($values) { 8 $text = !empty($this->options['text']) ? $this->options['text'] : t('edit'); 9 $iid = $values->{$this->aliases['iid']}; 10 $schedule_nid = $values->{$this->aliases['schedule_nid']}; 11 return l($text, "node/$schedule_nid/schedule/$iid/edit", array('query' => drupal_get_destination())); 12 } 13 } 14
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 |