public function createAction()
    {
        if ($form = $this->processForm()) {
            $this->setPageTitle(sprintf($this->_('New %s...'), $this->getTopic()));
            $this->html[] = $form;
        }
    }
public function createAction()
    {
        if ($form = $this->processForm()) {
            $this->setPageTitle(sprintf($this->_('New %s...'), $this->getTopic()));
            $this->html[] = $form;
        }
    }
public function createAction ( ) { if ( $ form = $ this -> processForm ( ) ) { $ this -> setPageTitle ( sprintf ( $ this -> _ ( 'New %s...' ) , $ this -> getTopic ( ) ) ) ; $ this -> html [ ] = $ form ; } }
Creates a form for a new record

Uses $this->getModel()
$this->addFormElements()
Creates a form for a new record