Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
public function executeIndex(sfWebRequest $request)
|
|
|
2 |
{
|
|
|
3 |
<?php if (isset($this->params['with_doctrine_route']) && $this->params['with_doctrine_route']): ?>
|
|
|
4 |
$this-><?php echo $this->getPluralName() ?> = $this->getRoute()->getObjects();
|
|
|
5 |
<?php else: ?>
|
|
|
6 |
$this-><?php echo $this->getPluralName() ?> = Doctrine_Core::getTable('<?php echo $this->getModelClass() ?>')
|
|
|
7 |
->createQuery('a')
|
|
|
8 |
->execute();
|
|
|
9 |
<?php endif; ?>
|
|
|
10 |
}
|