REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.05 KB
Close
/home/jambtst2015/9jahookups.com/libraries/src/Menu/MenuFactory.php
Text
Base64
<?php /** * Joomla! Content Management System * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Menu; \defined('_JEXEC') or die; use Joomla\CMS\Language\Text; /** * Default factory for creating Menu objects * * @since 4.0.0 */ class MenuFactory implements MenuFactoryInterface { /** * Creates a new Menu object for the requested format. * * @param string $client The name of the client * @param array $options An associative array of options * * @return AbstractMenu * * @since 4.0.0 * @throws \InvalidArgumentException */ public function createMenu(string $client, array $options = []): AbstractMenu { // Create a Menu object $classname = __NAMESPACE__ . '\\' . ucfirst(strtolower($client)) . 'Menu'; if (!class_exists($classname)) { throw new \InvalidArgumentException(Text::sprintf('JLIB_APPLICATION_ERROR_MENU_LOAD', $client), 500); } return new $classname($options); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AbstractMenu.php
8.35 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AdministratorMenu.php
491 B
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AdministratorMenuItem.php
725 B
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MenuFactory.php
1.05 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MenuFactoryInterface.php
709 B
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MenuItem.php
4.05 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SiteMenu.php
6.89 KB
lrw-r--r--
2021-08-23 19:07:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).