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