function __construct($args) { parent::__construct($args); $this->arg('styles', null, $args); $this->arg('domClass', null, $args); $this->arg('domId', null, $args); $this->arg('selectors', null, $args); $this->arg('link_title', null, $args); $this->arg('tooltip', null, $args); $this->arg('description', null, $args); $this->arg('title', null, $args); $this->arg('linkSelectors', null, $args); $this->arg('route', null, $args); $this->arg('submitEventName', null, $args); $this->arg('responsive', null, $args); $this->arg('popover', null, $args); $this->arg('popoverOptions', null, $args); $this->arg('modal_width', null, $args); $this->arg('modal_height', null, $args); $this->arg('iconLibrary', null, $args, 'icomoon'); if ($this->submitEventName) { $this->addSelector($this->submitEventName, $this->getSubmitAction()); } if ($this->responsive) { $this->addClass($this->getResponsiveClass()); } $title = $this->title; //Create the tooltip title if ($this->tooltip) { $title = $this->title . ($this->description ? '::' . $this->description : ''); $this->addClass('hasTooltip'); } if ($title) { $this->addSelector('title', $title); } }
function __construct($args) { parent::__construct($args); }