public function render()
 {
     parent::render();
     $this->action->run();
     $o = '<' . $this->fullname . ' type="button" value="' . $this->value . '"/>';
     return $o;
 }
 public function render()
 {
     parent::render();
     $o = ZXmlUtil::renderArray(array(0 => 'grid', 1 => array('flex' => $this->flex, 'id' => $this->id)), true);
     $o .= '<columns>';
     for ($i = 0; $i < $this->columns; ++$i) {
         $o .= ZXmlUtil::renderArray(array(0 => 'column', 1 => array('flex' => $this->flex)));
     }
     $o .= '</columns>';
     $o .= '<rows>';
     $childNum = 0;
     foreach ($this->renderedChildren as $child) {
         if (is_string($child) && trim($child) == '') {
             continue;
         }
         if ($childNum == 0) {
             $o .= '<row>';
         }
         $o .= $child;
         if (++$childNum == $this->columns) {
             $o .= '</row>';
             $childNum = 0;
         }
     }
     if ($childNum != 0) {
         $o .= '</row>';
     }
     $o .= '</rows>';
     $o .= '</grid>';
     return $o;
 }
 public function render()
 {
     $o = parent::render();
     $o .= $this->renderScript();
     $o .= $this->renderedChildren();
     return $o;
 }
 public function render()
 {
     parent::render();
     if (!$this->rendered) {
         return '';
     }
     return $this->renderHead() . $this->getChildrenOutput() . $this->renderFoot();
 }
 public function init()
 {
     $this->valueBindScope = Contexts::instance()->getVariableContext($this->valueBind);
     $form = $this->getFormParent();
     $form->registerElement($this);
     $this->bindPropertyToAttribute('id');
     parent::init();
 }
 public function render()
 {
     parent::render();
     $o = '<?xml version="1.0"?>' . '<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>' . '<' . $this->fullName . ' id="rootWnd" title="Register Online!" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">';
     $o .= $this->getChildrenOutput();
     $o .= '</' . $this->fullName . '>';
     return $o;
 }
 public function render()
 {
     parent::render();
     $o = '<' . $this->fullName . '>';
     $o .= '<head><title>' . $this->title . '</title><head>';
     $o .= $this->getChildrenOutput();
     $o .= '</' . $this->fullName . '>';
     return $o;
 }
 public function init()
 {
     /*
      * Aspect tag will work if current aspect is the given.
      */
     $this->rendered = $this->aspect->name == $this->name;
     if ($this->rendered) {
         parent::init();
     }
 }
 public function render()
 {
     parent::render();
     ob_start();
     for ($i = 0; $i < $this->times; ++$i) {
         $this->renderedChildren = array();
         $this->preRenderChildren();
         echo implode('', $this->renderedChildren);
     }
     return ob_get_clean();
 }
 public function render()
 {
     parent::render();
     if (!is_array($this->value)) {
         return;
     }
     ob_start();
     foreach ($this->value as $v) {
         $this->setContext($this->var, $v);
         $this->preRenderChildren();
         echo implode('', $this->renderedChildren);
     }
     return ob_get_clean();
 }
 public function render()
 {
     parent::render();
     $prop = $this->name;
     if ($this->parent instanceof ZElement && !$this->attribute) {
         if ($this->append && is_string($this->parent->{$prop})) {
             $this->parent->{$prop} .= $this->value;
         } else {
             $this->parent->{$prop} = $this->value;
         }
     } else {
         if ($this->append && is_string($this->parent->{$prop})) {
             $this->parent->meta->attributes[$prop] .= $this->value;
         } else {
             $this->parent->meta->attributes[$prop] = $this->value;
         }
     }
 }
 public function render()
 {
     $o = parent::render();
     $o .= $this->templateDocument->render($this->document->viewId, $this->defines);
     return $o;
 }
 public function render()
 {
     parent::render();
     return $this->getChildrenOutput();
 }