芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.4/modules/mod_quickicon/src/Dispatcher/Dispatcher.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Module\Quickicon\Administrator\Dispatcher; \defined('JPATH_PLATFORM') or die; use Joomla\CMS\Dispatcher\AbstractModuleDispatcher; /** * Dispatcher class for mod_quickicon * * @since 4.0.0 */ class Dispatcher extends AbstractModuleDispatcher { /** * Returns the layout data. * * @return array * * @since 4.0.0 */ protected function getLayoutData() { $data = parent::getLayoutData(); $helper = $this->app->bootModule('mod_quickicon', 'administrator')->getHelper('QuickIconHelper'); $data['buttons'] = $helper->getButtons($data['params'], $this->getApplication()); return $data; } }