function __construct($args) { parent::__construct($args); $this->arg('display', null, $args, 'list'); //Get list from Joomla $this->list = JHtml::_('access.assetgroups'); }
function __construct($args) { parent::__construct($args); $this->arg('cols', 6, $args, '32'); $this->arg('rows', 7, $args, '4'); $this->arg('domClass', 8, $args); $this->arg('selectors', 9, $args); }
function __construct($args) { parent::__construct($args); $this->arg('ajaxContext', null, $args, ''); $this->ajaxContext = explode(".", $this->ajaxContext); $this->arg('ajaxWrapper', null, $args, count($this->ajaxContext) >= 4 ? "_ajax_" . $this->ajaxContext[1] . "_" . $this->ajaxContext[3] : rand(1111111111, 8888888888)); $this->arg('ajaxVars', null, $args); $this->arg('onReady', null, $args); }
function __construct($args) { parent::__construct($args); $this->arg('rangeNameSpace', null, $args); $this->arg('dataValueFrom', null, $args, null); $this->arg('dataValueTo', null, $args, null); $this->arg('labelFrom', null, $args, ''); $this->arg('labelTo', null, $args, ''); $this->arg('alignHz', null, $args, false); }
function __construct($args) { parent::__construct($args); $this->arg('cols', null, $args, '32'); $this->arg('rows', null, $args, '4'); $this->arg('width', null, $args, '100%'); $this->arg('height', null, $args, $this->rows * 20); $this->arg('editor', null, $args); $this->arg('domClass', null, $args); $this->arg('selectors', null, $args); }
function __construct($args) { parent::__construct($args); $this->arg('indirect', null, $args); $this->arg('root', null, $args); $this->arg('width', null, $args, 0); $this->arg('height', null, $args, 0); $this->arg('attrs', null, $args); $this->arg('cid', null, $args); $this->arg('view', null, $args); $this->arg('actions', null, $args); $this->thumb = $this->width || $this->height; }
function __construct($args) { parent::__construct($args); $this->arg('items', null, $args); $this->arg('labelKey', null, $args, 'text'); $this->arg('neworder', null, $args, 30); $this->arg('chop', null, $args, 30); $this->labelFirst = "JOPTION_ORDER_FIRST"; $this->labelLast = "JOPTION_ORDER_LAST"; if ($this->neworder > 0) { $this->labelNew = $this->JText('JGLOBAL_NEWITEMSLAST_DESC'); } else { $this->labelNew = $this->JText('JGLOBAL_NEWITEMSFIRST_DESC'); } }
function __construct($args) { parent::__construct($args); $this->arg('timeFormat', null, $args, "%H:%M"); if ($this->timeFormat) { //Instance the validator $this->validatorRegex = $this->regexFromTimeFormat(); } $this->addValidatorHandler(); if ($this->dataValue && $this->dataValue != "0000-00-00" && $this->dataValue != "00:00:00" && $this->dataValue != "0000-00-00 00:00:00") { jimport('joomla.utilities.date'); $date = new JDate($this->dataValue); $this->dataValue = $date->format($this->timeFormat); } else { $this->dataValue = ""; } }
function __construct($args) { parent::__construct($args); $this->arg('list', null, $args); $this->arg('listKey', null, $args, 'id'); $this->arg('labelKey', null, $args, 'text'); $this->arg('colorKey', null, $args); $this->arg('iconKey', null, $args); $this->arg('size', null, $args); $this->arg('nullLabel', null, $args); $this->arg('groupBy', null, $args); $this->arg('domClass', null, $args); $this->arg('selectors', null, $args); //Reformate items $newArray = array(); if (count($this->list)) { $a = array_keys($this->list); if ($a == array_keys($a)) { $i = 0; foreach ($this->list as $item) { if (is_array($item)) { $newItem = new stdClass(); foreach ($item as $key => $value) { $newItem->{$key} = $value; } $newArray[$i] = $newItem; } $i++; } } else { foreach ($this->list as $key => $value) { if (is_string($value)) { $newItem = new stdClass(); $newItem->id = $key; $newItem->text = $value; $newArray[] = $newItem; } } } } if (count($newArray)) { $this->list = $newArray; } }
function __construct($args) { parent::__construct($args); }
function __construct($args) { parent::__construct($args); $this->arg('size', null, $args); $this->arg('label', null, $args); }
function __construct($args) { parent::__construct($args); $this->arg('dateFormat', null, $args, "Y-m-d"); $this->arg('filter', null, $args); }
function __construct($args) { parent::__construct($args); $this->arg('size', 6, $args, '32'); }