4 class <?php
echo $helper_name?
> extends AkActionViewHelper
6 function cancel($url = array('action' => 'listing'))
8 return '<input type="button" value="'.$this->_controller
->t('Cancel').'" style="width: auto;" onclick="window.location.href = \''.$this->_controller
->urlFor($url).'\';" />';
13 return '<input type="submit" value="'.$this->_controller
->t('OK').'" class="primary" />';
16 function confirm_delete()
18 return '<input type="submit" value="'.$this->_controller
->t('Delete').'" />';
21 function link_to_show(&$record)
23 return $this->_controller
->url_helper
->link_to($this->_controller
->t('Show'), array('action' => 'show', 'id' => $record->getId()));
26 function link_to_edit(&$record)
28 return $this->_controller
->url_helper
->link_to($this->_controller
->t('Edit'), array('action' => 'edit', 'id' => $record->getId()));
31 function link_to_destroy(&$record)
33 return $this->_controller
->url_helper
->link_to($this->_controller
->t('Delete'), array('action' => 'destroy', 'id' => $record->getId()));