Пример #1
0
 public function renderContent(Customweb_Form_IRenderer $renderer)
 {
     $result = '';
     $result .= '<div id="' . $this->getControlId() . '" class="' . $this->getCssClass() . '">';
     foreach ($this->getSubControls() as $control) {
         $result .= $renderer->renderControl($control);
     }
     $result .= '</div>';
     return $result;
 }
Пример #2
0
 public function render(Customweb_Form_IRenderer $renderer)
 {
     $result = $renderer->renderElementPrefix($this) . $renderer->renderControl($this->getControl()) . $renderer->renderElementPostfix($this);
     return $result;
 }