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_propel_route']) && $this->params['with_propel_route']): ?>
|
|
|
4 |
$this-><?php echo $this->getSingularName() ?> = $this->getRoute()->getObject();
|
|
|
5 |
<?php else: ?>
|
|
|
6 |
$this-><?php echo $this->getSingularName() ?> = <?php echo constant($this->getModelClass().'::PEER') ?>::retrieveByPk(<?php echo $this->getRetrieveByPkParamsForAction(49) ?>);
|
|
|
7 |
$this->forward404Unless($this-><?php echo $this->getSingularName() ?>);
|
|
|
8 |
<?php endif; ?>
|
|
|
9 |
}
|