public function render(Zend_View_Interface $view = null) { ... $content = ''; foreach ($this->getDecorators() as $decorator) { $decorator->setElement($this); $content = $decorator->render($content); } ... return $content; }
Listing 29.2. Zarys metody render() klas Zend_Form oraz Zend_Form_Element
Rozdział 29. Dostosowywanie kodu HTML formularzy