public function bodyToString() { $res = $this->tag_body_start; return $res . parent::toString(false); /*foreach($this->items as $item) $res .= $item; return $res;*/ }
public function bodyToString() { return $this->tag_body_start . parent::toString(false); }
public function bodyToString() { return parent::toString(false); }
/** * Gets string representation of action button list. * * @param bool $destroy * * @return string */ public function toString($destroy = true) { zbx_add_post_js('chkbxRange.pageGoName = ' . CJs::encodeJson($this->checkboxesName) . ';'); zbx_add_post_js('chkbxRange.prefix = ' . CJs::encodeJson($this->cookieNamePrefix) . ';'); $items = []; foreach ($this->buttons as $button) { $items[] = $button; } $this->items[] = (new CDiv([$this->getSelectedCountElement(), $items]))->setId('action_buttons')->addClass(ZBX_STYLE_ACTION_BUTTONS); return parent::toString($destroy); }