| [ Index ] |
PHP Cross Reference of Akelos Framework |
[Summary view] [Print] [Text view]
1 <?php echo '<?php'?> 2 3 4 class <?php echo $helper_name?> extends AkActionViewHelper 5 { 6 function cancel($url = array('action' => 'listing')) 7 { 8 return '<input type="button" value="'.$this->_controller->t('Cancel').'" style="width: auto;" onclick="window.location.href = \''.$this->_controller->urlFor($url).'\';" />'; 9 } 10 11 function save() 12 { 13 return '<input type="submit" value="'.$this->_controller->t('OK').'" class="primary" />'; 14 } 15 16 function confirm_delete() 17 { 18 return '<input type="submit" value="'.$this->_controller->t('Delete').'" />'; 19 } 20 21 function link_to_show(&$record) 22 { 23 return $this->_controller->url_helper->link_to($this->_controller->t('Show'), array('action' => 'show', 'id' => $record->getId())); 24 } 25 26 function link_to_edit(&$record) 27 { 28 return $this->_controller->url_helper->link_to($this->_controller->t('Edit'), array('action' => 'edit', 'id' => $record->getId())); 29 } 30 31 function link_to_destroy(&$record) 32 { 33 return $this->_controller->url_helper->link_to($this->_controller->t('Delete'), array('action' => 'destroy', 'id' => $record->getId())); 34 } 35 } 36 37 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Oct 27 12:43:49 2008 | Cross-referenced by PHPXref 0.6 |