Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

  public function executeCreate(sfWebRequest $request)
  {
<?php if (isset($this->params['with_doctrine_route']) && $this->params['with_doctrine_route']): ?>
<?php else: ?>
    $this->forward404Unless($request->isMethod(sfRequest::POST));

<?php endif; ?>
    $this->form = new <?php echo $this->getModelClass().'Form' ?>();

    $this->processForm($request, $this->form);

    $this->setTemplate('new');
  }