public function __construct(Zend_Form $form) { parent::__construct(); $this->view = Zend_Layout::getMvcInstance()->getView(); $this->formName = $form->getName(); $elementsBelongTo = $form->getElementsBelongTo(); $this->elementPrefix = ''; if ($elementsBelongTo) { $this->elementPrefix = Zmz_Utils::stripFormArrayNotation($elementsBelongTo); $this->elementPrefix .= '-'; } $this->init(); }