X7ROOT File Manager
Current Path:
/home/notabjze/just4dastreets.com/libraries/src/Dispatcher
home
/
notabjze
/
just4dastreets.com
/
libraries
/
src
/
Dispatcher
/
ðŸ“
..
📄
AbstractModuleDispatcher.php
(2.95 KB)
📄
ApiDispatcher.php
(1.57 KB)
📄
ComponentDispatcher.php
(4.42 KB)
📄
ComponentDispatcherFactory.php
(1.93 KB)
📄
ComponentDispatcherFactoryInterface.php
(859 B)
📄
Dispatcher.php
(1.2 KB)
📄
DispatcherInterface.php
(483 B)
📄
LegacyComponentDispatcher.php
(1.5 KB)
📄
ModuleDispatcher.php
(1.13 KB)
📄
ModuleDispatcherFactory.php
(1.64 KB)
📄
ModuleDispatcherFactoryInterface.php
(935 B)
Editing: ModuleDispatcher.php
<?php /** * Joomla! Content Management System * * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\CMS\Dispatcher; \defined('_JEXEC') or die; /** * Base class for a Joomla Module Dispatcher * * Executes the single entry file of a module. * * @since 4.0.0 */ class ModuleDispatcher extends AbstractModuleDispatcher { /** * Dispatches the dispatcher. * * @return void * * @since 4.0.0 */ public function dispatch() { $path = JPATH_BASE . '/modules/' . $this->module->module . '/' . $this->module->module . '.php'; if (!is_file($path)) { return; } $this->loadLanguage(); // Execute the layout without the module context $loader = static function ($path, array $displayData) { // If $displayData doesn't exist in extracted data, unset the variable. if (!\array_key_exists('displayData', $displayData)) { extract($displayData); unset($displayData); } else { extract($displayData); } include $path; }; $loader($path, $this->getLayoutData()); } }
Upload File
Create Folder