Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier modules/mod_menu/mod_menu.php

Espaces de nommage

 Joomla\Site
 

Variables

 $list = MenuHelper::getList($params)
 
 $base = MenuHelper::getBase($params)
 
 $active = MenuHelper::getActive($params)
 
 $default = MenuHelper::getDefault()
 
 $active_id = $active->id
 
 $default_id = $default->id
 
 $path = $base->tree
 
 $showAll = $params->get('showAllChildren', 1)
 
 $class_sfx = htmlspecialchars($params->get('class_sfx', ''), ENT_COMPAT, 'UTF-8')
 

Documentation des variables

◆ $active

$active = MenuHelper::getActive($params)

◆ $active_id

$active_id = $active->id

◆ $base

◆ $class_sfx

$class_sfx = htmlspecialchars($params->get('class_sfx', ''), ENT_COMPAT, 'UTF-8')

◆ $default

$default = MenuHelper::getDefault()

◆ $default_id

$default_id = $default->id

◆ $list

$list = MenuHelper::getList($params)

◆ $path

$path = $base->tree
Exemples:
C:/laragon/www/_install/Joomla_422-Stable-Full_Package_French_v1/libraries/src/HTML/HTMLHelper.php.

Référencé par HTMLHelper\_(), FilesystemHandler\__construct(), FileStorage\__construct(), OpensearchDocument\__construct(), Language\__construct(), HtmlView\_addPath(), FileStorage\_checkExpire(), FileStorage\_cleanPath(), PlgContentPagebreak\_createNavigation(), PlgContentPagebreak\_createToc(), FileStorage\_deleteFolder(), FileStorage\_filesInFolder(), FileStorage\_folders(), Folder\_items(), Captcha\_load(), JLoader\_load(), Editor\_loadEditor(), HtmlView\_prepareDocument(), HtmlView\_setPath(), MediaController\add(), Mail\addAttachment(), PHPMailer\addAttachment(), Toolbar\addButtonPath(), PlgExtensionFinder\addCommonWords(), SysinfoModel\addDirectory(), PHPMailer\addEmbeddedImage(), HTMLHelper\addFileToBuffer(), HtmlView\addHelperPath(), BaseModel\addIncludePath(), CacheController\addIncludePath(), FileLayout\addIncludePath(), Table\addIncludePath(), CacheStorage\addIncludePath(), Cache\addIncludePath(), HTMLHelper\addIncludePath(), BaseController\addModelPath(), FormHelper\addPath(), BaseController\addPath(), MenusHelper\addPreset(), WebAssetRegistry\addRegistryFile(), HtmlView\addTemplatePath(), BaseController\addViewPath(), Users\admin_language(), Registry\append(), PharExtensionInterceptor\assert(), PharMetaDataInterceptor\assert(), ConjunctionInterceptor\assert(), Behavior\assert(), Manager\assert(), PharStreamWrapper\assert(), PHPMailer\attachAll(), PharExtensionInterceptor\baseFileContainsPharExtension(), PharMetaDataInterceptor\baseFileDoesNotHaveMetaDataIssues(), StandardRules\build(), Path\canChmod(), FtpClient\chdir(), Path\check(), FieldModel\checkDefaultValue(), Checkfiles\checkImages(), FtpClient\chmod(), Path\clean(), PharStreamWrapper\collectInvocation(), ClassNotFoundErrorEnhancer\convertFileToClass(), HTMLHelper\convertToRelativePath(), Folder\copy(), File\copy(), TemplateAdapter\copyBaseFiles(), PluginAdapter\copyBaseFiles(), ModuleAdapter\copyBaseFiles(), ComponentAdapter\copyBaseFiles(), TemplateModel\copyFile(), Installer\copyManifest(), Folder\create(), FtpClient\create(), Symfony\Contracts\Service\createCircularReferenceException(), ConfigurationModel\createConfiguration(), DatabaseHandler\createDatabaseTable(), ApiModel\createFile(), LocalAdapter\createFile(), ApiModel\createFolder(), LocalAdapter\createFolder(), TemplateModel\createFolder(), TemplateModel\createOverride(), LegacyComponent\createRouter(), LegacyFactory\createView(), Zip\createZipFile(), TemplateModel\cropImage(), MediumModel\delete(), LocalAdapter\delete(), Folder\delete(), ApiModel\delete(), FtpClient\delete(), SFTP\delete(), SFTP\delete_recursive(), ConfigurationModel\deleteConfiguration(), TemplateModel\deleteFolder(), Helper\determineBaseFile(), ModuleDispatcher\dispatch(), LegacyComponentDispatcher\dispatch(), MediaController\displayItem(), PlgContentVote\displayVotingData(), ExtensionInstallCommand\doExecute(), MediaController\edit(), PHPMailer\encodeFile(), Registry\exists(), Folder\exists(), LanguageHelper\exists(), X509\extensions(), Archive\extract(), Tar\extract(), Registry\extract(), TemplateModel\extractArchive(), Zip\extractCustom(), LocalFileReference\file(), InMemory\file(), SFTP\file_exists(), SFTP\fileatime(), SFTP\filegroup(), PHPMailer\fileIsAccessible(), SFTP\filemtime(), SFTP\fileowner(), SFTP\fileperms(), Folder\files(), SFTP\filesize(), SFTP\filetype(), FileAdapter\finaliseInstall(), Path\find(), ClassNotFoundErrorEnhancer\findClassInPath(), PharInvocationResolver\findInBaseNames(), Folder\folders(), DataFormatter\formatPath(), AbstractDataCollector\formatPath(), FilesystemHelper\ftpChmod(), Helper\ftpChmod(), FileStorage\get(), Registry\get(), Task\get(), SFTP\get_lstat_cache_prop(), SFTP\get_stat_cache_prop(), SFTP\get_xstat_cache_prop(), FileStorage\getAll(), TemplateModel\getArchive(), Helper\getCanonicalPath(), LegacyComponent\getCategory(), Router\getCategorySegment(), ClassNotFoundErrorEnhancer\getClassCandidates(), TemplateModel\getCoreList(), LocalAdapter\getEncodedPath(), X509\getExtension(), X509\getExtensionHelper(), X509\getExtensions(), X509\getExtensionsHelper(), ApiModel\getFile(), TemplateModel\getFile(), LocalAdapter\getFile(), FileModel\getFileInformation(), LocalAdapter\getFileName(), ApiModel\getFiles(), LocalAdapter\getFiles(), TemplateModel\getFiles(), InstalledModel\getFolders(), TemplateModel\getFont(), ComponentModel\getForm(), ContenthistoryHelper\getFormFile(), FieldsPlugin\getFormPath(), TemplateModel\getImage(), Image\getImageFileProperties(), InstallerHelper\getInstallationXML(), LanguagesModel\getInstalledlangs(), PlgSampledataMultilang\getInstalledlangs(), CacheController\getInstance(), BaseController\getInstance(), MediumModel\getItem(), PluginModel\getItem(), StyleModel\getItem(), ModuleModel\getItem(), MediaModel\getItems(), PositionsModel\getItems(), SelectModel\getItems(), MediaField\getLayoutData(), LocalAdapter\getLocalPath(), PlgSystemLogrotation\getLogFiles(), TemplateModel\getMediaFiles(), ModulesHelper\getModules(), JNamespacePsr4Map\getNamespaces(), FolderlistField\getOptions(), FilelistField\getOptions(), TemplateModel\getOverridesFolder(), TemplateModel\getOverridesList(), RouterView\getPath(), InstalledModel\getPath(), LanguagesModel\getPath(), Image\getPath(), PlgSampledataMultilang\getPath(), LocalAdapter\getPathInformation(), Path\getPermissions(), ModulesModel\getPositions(), X509\getPublicKey(), LocalAdapter\getResource(), ApiRouter\getRoutePath(), Authentication\getSiteIcon(), ChromestyleField\getTemplateModuleStyles(), ModulesHelper\getTranslatedModulePosition(), MenutypesModel\getTypeOptionsFromLayouts(), MenutypesModel\getTypeOptionsFromMvc(), TemplateModel\getUpdatedList(), WebAssetItem\getUri(), ApiModel\getUrl(), LocalAdapter\getUrl(), Helper\hasPharPrefix(), HTMLHelper\image(), JLoader\import(), HTMLHelper\includeRelativeFiles(), Installer\install(), ConjunctionInterceptor\invokeAssertions(), SFTP\is_dir(), SFTP\is_file(), SFTP\is_link(), SFTP\is_readable(), SFTP\is_writable(), SFTP\is_writeable(), Helper\isAbsolutePath(), Tar\isBelow(), Zip\isBelow(), ApiModel\isMediaFile(), Path\isOwner(), WebAssetItem\isPathAbsolute(), WebAssetItem\isPathExternal(), PHPMailer\isPermittedPath(), X509\isSubArrayValid(), jimport(), Users\language(), FtpClient\listDetails(), Folder\listFolderTree(), FtpClient\listNames(), JNamespacePsr4Map\load(), Language\load(), JLoader\loadByPsr(), FormHelper\loadClass(), Image\loadFile(), FileAdapter\loadLanguage(), LibraryAdapter\loadLanguage(), TemplateAdapter\loadLanguage(), PluginAdapter\loadLanguage(), ModuleAdapter\loadLanguage(), PackageAdapter\loadLanguage(), ComponentAdapter\loadLanguage(), WebApplication\loadSystemUris(), AbstractWebApplication\loadSystemUris(), Microdata\loadTypes(), FileStorage\lock(), Folder\makeSafe(), X509\mapInAttributes(), X509\mapInDNs(), X509\mapInExtensions(), X509\mapOutAttributes(), X509\mapOutDNs(), X509\mapOutExtensions(), Laminas\Diactoros\marshalUriFromSapi(), PHPMailer\mb_pathinfo(), FtpClient\mkdir(), File\move(), Folder\move(), Helper\normalizePath(), Helper\normalizeWindowsPath(), PlgContentPagenavigation\onContentBeforeDisplay(), FieldsPlugin\onContentPrepareForm(), FieldsPlugin\onCustomFieldsGetTypes(), FieldsPlugin\onCustomFieldsPrepareField(), Joomla\Plugin\Editors\TinyMCE\PluginTraits\onDisplay(), Installer\parseFiles(), SiteRouter\parseInit(), Installer\parseLanguages(), Installer\parseMedia(), PostinstallHelper\parsePath(), WebAssetRegistry\parseRegistryFile(), WebAssetRegistry\parseRegistryFiles(), Util\parseRelationshipPaths(), PlgSystemLanguageFilter\parseRule(), Installer\parseXMLInstallFile(), LanguageHelper\parseXMLLanguageFile(), FileAdapter\populateFilesAndFolderList(), ComponentModel\populateState(), ApiController\postFiles(), ToolbarHelper\preferences(), HtmlView\prepareDocument(), UpdateModel\preparePreUpdate(), GroupModel\preprocessForm(), CategoryModel\preprocessForm(), FieldModel\preprocessForm(), ItemModel\preprocessForm(), ExtensionInstallCommand\processPathInstallation(), ExtensionInstallCommand\processUrlInstallation(), ApiController\putFiles(), SFTP\query_stat_cache(), Key\readFile(), SFTP\realpath(), Nested\rebuild(), Nested\rebuildPath(), AbstractWebApplication\redirect(), StringsModel\refresh(), JLoader\register(), JLoader\registerNamespace(), JLoader\registerPrefix(), Helper\remotefsize(), FilesystemHelper\remotefsize(), FileStorage\remove(), Registry\remove(), SFTP\remove_from_stat_cache(), LanguageAdapter\removeExtensionFiles(), X509\removeExtensionHelper(), Installer\removeFiles(), FileLayout\removeIncludePath(), ApiRouter\removeIndexPhpFromPath(), Helper\removePharPrefix(), TemplateModel\renameFile(), FileLayout\render(), Socket\request(), SocketTransport\request(), TemplateModel\resizeImage(), PharInvocationResolver\resolve(), Manager\resolve(), Path\resolve(), Joomla\Component\Media\Administrator\Provider\resolveAdapterAndPath(), PharInvocationResolver\resolveBaseName(), Joomla\Plugin\Editors\TinyMCE\PluginTraits\resolveFileUrl(), WebAssetItem\resolvePath(), PharInvocationResolver\resolvePossibleAlias(), Uri\root(), PlgSystemLogrotation\rotate(), MediumModel\save(), ApplicationModel\save(), ApiModel\search(), LocalAdapter\search(), Cookie\set(), Registry\set(), Task\set(), JavascriptRenderer\setBasePath(), ZIPExtraction\setCorrectPermissions(), X509\setExtensionHelper(), Form\setField(), BaseController\setPath(), Path\setPermissions(), SFTP\setstat_recursive(), LanguageAdapter\setupUninstall(), FileStorage\store(), TemplateModel\storeFileInfo(), Buffer\stream_open(), BufferStreamHandler\stream_open(), StreamString\stream_open(), PharStreamWrapper\stream_open(), X509\subArray(), X509\subArrayUnchecked(), Form\syncPaths(), FilePathRule\test(), Image\toFile(), InstallerModel\translate(), UpdateModel\translateExtensionName(), FileStorage\unlock(), Installer\update(), SFTP\update_stat_cache(), LocalAdapter\updateFile(), ApiModel\updateFile(), TemplateModel\uploadFile(), StreamString\url_stat(), PharStreamWrapper\url_stat(), Joomla\CMS\MVC\Model\workflowAfterSave(), UploadedFile\writeFile(), et JNamespacePsr4Map\writeNamespaceFile().

◆ $showAll

$showAll = $params->get('showAllChildren', 1)