getElement(); $view = $element->getView(); if (null === $view) { return $content; } $dijitParams = $this->getDijitParams(); $attribs = array_merge($this->getAttribs(), $this->getOptions()); // Enforce id attribute of form for dojo events if (!isset($attribs['name']) || !$attribs['name']) { $element->setName(get_class($element) . '_' . uniqid()); } return $view->form($element->getName(), $attribs, $content); } }