Source of file SearchPanel.php
Size: 0,625 Bytes - Last Modified: 2021-12-23T10:10:18+00:00
/var/www/docs.ssmods.com/process/src/src/Panels/SearchPanel.php
123456789101112131415161718192021222324252627 | <?php namespace Plastyk\Dashboard\Panels; use Plastyk\Dashboard\Model\DashboardPanel; use SilverStripe\View\Requirements; class SearchPanel extends DashboardPanel { public function getData() { $data = parent::getData(); $data['DashboardSearchForm'] = $this->controller->DashboardSearchForm(); $data['SearchValue'] = false; return $data; } public function init() { parent::init(); Requirements::css('plastyk/dashboard:css/dashboard-search-panel.css'); Requirements::javascript('plastyk/dashboard:javascript/dashboard-search-panel.js'); } } |