Example #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);
 }
Example #2
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('content', null, $args);
     $this->arg('color', null, $args);
     $this->arg('size', null, $args);
 }
Example #3
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('href', 2, $args);
     $this->arg('js', 3, $args);
     $this->arg('text', 4, $args);
     $this->arg('title', 5, $args, $this->text);
     $this->arg('target', 6, $args);
     $this->arg('icon', 7, $args);
 }
Example #4
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('dataKey', null, $args);
     $this->arg('dataObject', null, $args);
     $key = $this->dataKey;
     $this->arg('dataValue', null, $args, $this->dataObject && $key ? isset($this->dataObject->{$key}) ? $this->dataObject->{$key} : null : null);
     $this->arg('task', null, $args);
     $this->arg('num', null, $args);
     $this->arg('ctrl', null, $args);
 }
Example #5
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('icon', null, $args);
     $this->arg('tooltip', null, $args);
     $this->arg('title', null, $args);
     $this->arg('color', null, $args);
     $this->arg('size', null, $args);
     $this->arg('library', null, $args, $this->iconLibrary);
     $parts = explode('-', $this->icon);
     if (count($parts) > 1 && in_array($parts[0], $this->availableLibraries)) {
         $this->library = array_shift($parts);
         $this->icon = implode('-', $parts);
     }
 }
Example #6
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('bar', null, $args);
     $this->arg('align', null, $args, 'left');
     $this->arg('ui', null, $args, 'bootstrap');
     $this->arg('display', null, $args, 'all');
     $this->arg('list', null, $args);
     //Convert to lowercase because class name has changed since J!3.0
     if (is_object($this->bar) && strtolower(get_class($this->bar)) == 'jtoolbar') {
         $items = $this->bar->getItems();
     } else {
         $items = $this->bar;
     }
     $this->items = $items;
 }
Example #7
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('href', null, $args);
     $this->arg('task', null, $args);
     $this->arg('num', null, $args);
     $this->arg('link_js', null, $args);
     //Deprecated
     $this->arg('content', null, $args);
     $this->arg('link_title', null, $args);
     $this->arg('enabled', null, $args, true);
     $this->arg('tooltip', null, $args);
     $this->arg('target', null, $args);
     $this->arg('handler', null, $args, 'iframe');
     $this->arg('domClass', null, $args);
     $this->arg('modal_width', null, $args);
     $this->arg('modal_height', null, $args);
     $this->arg('alertConfirm', null, $args);
 }
Example #8
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('dataKey', null, $args);
     $this->arg('dataObject', null, $args);
     $this->arg('dataValue', null, $args, ($item = $this->dataObject) && ($key = $this->dataKey) ? $this->parseKeys($item, $key) : null);
     $this->arg('preview', null, $args);
     $this->arg('handler', null, $args);
     $this->arg('href', null, $args);
     $this->arg('task', null, $args);
     $this->arg('num', null, $args);
     $this->arg('link_title', null, $args);
     $this->arg('titleKey', null, $args);
     $this->arg('target', null, $args);
     $this->arg('markup', null, $args);
     if (count($this->styles) || count($this->classes) || count($this->selectors) || $this->domClass || $this->title) {
         if (!$this->markup) {
             $this->markup = 'span';
         }
     }
 }
Example #9
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('dataKey', null, $args);
     $this->arg('dataList', null, $args);
 }
Example #10
0
 function __construct($args)
 {
     parent::__construct($args);
 }
Example #11
0
 function __construct($args)
 {
     parent::__construct($args);
     $this->arg('list', null, $args);
 }