示例#1
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('pagination', 2, $args);
     $this->arg('showLimit', 3, $args, true);
     $this->arg('showCounter', 4, $args, true);
 }
示例#2
0
 protected function parseVars($vars)
 {
     return parent::parseVars(array_merge(array('DOM_ID' => $this->domId, 'STYLE' => $this->buildDomStyles(), 'CLASS' => $this->buildDomClass(), 'CLASSES' => $this->getDomClass(), 'SELECTORS' => $this->buildSelectors(), 'VALUE' => htmlspecialchars($this->dataValue, ENT_COMPAT, 'UTF-8'), 'JSON_REL' => htmlspecialchars($this->jsonArgs(), ENT_COMPAT, 'UTF-8'), 'MARKUP' => isset($this->markup) ? $this->markup : ''), $vars));
 }
示例#3
0
 protected function parseVars($vars)
 {
     return parent::parseVars(array_merge(array('TITLE' => " title=\"" . htmlspecialchars($this->text) . "\"", 'HREF' => $this->href ? " href=\"" . htmlspecialchars($this->href) . "\"" : "", 'JS' => $this->js ? " onclick=\"" . htmlspecialchars($this->js) . "\"" : "", 'TARGET' => $this->target ? " target='" . $this->target . "'" : "", 'BUTTON_ICON' => $this->icon), $vars));
 }
示例#4
0
 protected function parseVars($vars)
 {
     return parent::parseVars(array_merge(array('STYLE' => $this->buildDomStyles(), 'CLASS' => $this->buildDomClass(), 'SELECTORS' => $this->buildSelectors()), $vars));
 }
示例#5
0
 protected function parseVars($vars)
 {
     return parent::parseVars(array_merge(array('TITLE' => $this->link_title ? " title=\"" . htmlspecialchars($this->link_title) . "\"" : "", 'HREF' => $this->href ? " href=\"" . htmlspecialchars($this->href) . "\"" : "", 'JS' => $this->link_js ? " onclick=\"" . htmlspecialchars($this->link_js) . "\"" : "", 'TARGET' => $this->target ? " target='" . $this->target . "'" : "", 'SELECTORS' => $this->buildSelectors(), 'CLASS' => $this->buildDomClass(), 'STYLE' => $this->buildDomStyles(), 'ID' => isset($this->domId) ? " id=\"" . $this->domId . "\"" : ''), $vars));
 }
示例#6
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('dataKey', null, $args);
     $this->arg('dataList', null, $args);
 }
示例#7
0
 function __construct($args)
 {
     parent::__construct($args);
 }
示例#8
0
 protected function parseVars($vars)
 {
     return parent::parseVars(array_merge(array('STYLE' => $this->align == 'center' ? ' style="text-align:center;"' : '', 'CLASS' => $this->buildDomClass()), $vars));
 }
示例#9
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('list', null, $args);
 }