/** * Constructor for the widget. * * @param String $url URL to send the search to */ public function __construct($url = '') { parent::__construct(); $this->url = $url ?: $_SERVER['REQUEST_URI']; $this->title = _('Suche'); $this->template = 'sidebar/search-widget'; $this->needles = $needles; $this->filters = $filters; }
/** * */ public function __construct() { parent::__construct(); $this->template = 'sidebar/list-widget'; $this->addCSSClass('widget-list'); }