예제 #1
0
 public function bodyToString()
 {
     $res = $this->tag_body_start;
     return $res . parent::toString(false);
     /*foreach($this->items as $item)
     			$res .= $item;
     		return $res;*/
 }
예제 #2
0
 public function bodyToString()
 {
     return $this->tag_body_start . parent::toString(false);
 }
예제 #3
0
 public function bodyToString()
 {
     return parent::toString(false);
 }
예제 #4
0
 /**
  * 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);
 }