Anonymous
public text v1 · immutable public function executePage1 ()
{
if ($this->getRequest()->getMethod() == sfRequest::POST
&& $this->getRequestParameter('save'))
{
// it passed validation so it's good
// do what you need to do here.
$this->forward ('myModule', 'page2');
}
return self::doPage1 ();
}
public function handleErrorPage1()
{
return self::doPage1 ();
}
protected function doPage1 ()
{
// setup view data here
$this->foo = FooPeer::doSelect ();
return sfView::SUCCESS;
}