/** * Writes the closing tag string to the compiled template */ public function postGenerate($code) { if ($this->has_closing_tag) { $code->writeHtml('</' . $this->getRenderedTag() . '>'); } parent::postGenerate($code); }
public function postGenerate($code) { if (!$this->hide_for_current_page) { $parent = $this->findParentByClass('pager_navigator_tag'); $code->writePhp('if (' . $parent->getComponentRefCode() . '->has_prev()) {'); } parent::postGenerate($code); $code->writePhp('}'); }
public function postGenerate($code) { $code->writePhp('} else {'); if ($default = $this->findImmediateChildByClass('grid_default_tag')) $default->generateNow($code); $code->writePhp('}'); if ($this->has_form) { $code->writeHtml('</form>'); } parent :: postGenerate($code); }
public function postGenerate($code) { $code->writePhp('}'); parent::postGenerate($code); }