Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
public function executeShow(sfWebRequest $request)
|
|
|
2 |
{
|
|
|
3 |
<?php if (isset($this->params['with_doctrine_route']) && $this->params['with_doctrine_route']): ?>
|
|
|
4 |
$this-><?php echo $this->getSingularName() ?> = $this->getRoute()->getObject();
|
|
|
5 |
<?php else: ?>
|
|
|
6 |
$this-><?php echo $this->getSingularName() ?> = Doctrine_Core::getTable('<?php echo $this->getModelClass() ?>')->find(array(<?php echo $this->getRetrieveByPkParamsForAction(65) ?>));
|
|
|
7 |
$this->forward404Unless($this-><?php echo $this->getSingularName() ?>);
|
|
|
8 |
<?php endif; ?>
|
|
|
9 |
}
|