Function to strip additional / or \ in a path name.
- Paramètres
-
string | $path | The path to clean. |
string | $ds | Directory separator (optional). |
- Renvoie
- string The cleaned path.
- Exceptions
-
- Exemples:
- C:/laragon/www/_install/Joomla_422-Stable-Full_Package_French_v1/libraries/src/HTML/HTMLHelper.php.
Références $path, elseif, et JPATH_ROOT.
Référencé par LocalAdapter\__construct(), SubformField\__set(), HtmlView\_addPath(), InstallModel\_getPackageFromFolder(), BaseModel\addIncludePath(), CacheController\addIncludePath(), CacheStorage\addIncludePath(), Cache\addIncludePath(), HTMLHelper\addIncludePath(), WebAssetRegistry\addRegistryFile(), HtmlView\addToolbar(), File\append(), LocalAdapter\checkContent(), TemplateModel\child(), InstallerHelper\cleanupInstall(), Folder\copy(), File\copy(), LocalAdapter\copy(), TemplateModel\copy(), TemplateModel\copyFile(), Installer\copyFiles(), Folder\create(), TemplateModel\createFile(), TemplateModel\createFolder(), TemplateModel\createOverride(), File\delete(), Folder\delete(), TemplateModel\deleteFolder(), Folder\exists(), File\exists(), TemplateModel\extractArchive(), Folder\files(), Folder\folders(), TemplateModel\getArchive(), ActionlogsHelper\getContentTypeLink(), TemplateModel\getCoreFile(), TemplateModel\getCoreList(), FileAdapter\getElement(), LocalAdapter\getFileName(), LocalAdapter\getFiles(), TemplateModel\getFiles(), TemplateModel\getFont(), OverrideModel\getForm(), TemplateModel\getForm(), TemplateModel\getImage(), FieldLayoutField\getInput(), ModulelayoutField\getInput(), ComponentlayoutField\getInput(), PluginModel\getItem(), StyleModel\getItem(), ModuleModel\getItem(), PositionsModel\getItems(), SelectModel\getItems(), TemplateModel\getMediaFiles(), BaseController\getModel(), AliastagField\getOptions(), FolderlistField\getOptions(), FilelistField\getOptions(), TemplateModel\getOverridesList(), LocalAdapter\getPathInformation(), TemplatesHelper\getPositions(), ModulesModel\getPositions(), TemplateModel\getSource(), TemplateModel\getUpdatedList(), BaseController\getView(), Folder\listFolderTree(), LegacyComponent\loadHelper(), ContenthistoryHelper\loadLanguageFiles(), File\move(), Folder\move(), LocalAdapter\move(), Installer\parseMedia(), TemplatesHelper\parseXMLTemplateFile(), PluginsHelper\parseXMLTemplateFile(), FileAdapter\populateFilesAndFolderList(), ComponentModel\populateState(), ModulesModel\preprocessForm(), TemplatesModel\preprocessForm(), GroupModel\preprocessForm(), PluginModel\preprocessForm(), StyleModel\preprocessForm(), CategoryModel\preprocessForm(), ModuleModel\preprocessForm(), FieldModel\preprocessForm(), ItemModel\preprocessForm(), StringsModel\refresh(), ApplicationModel\save(), TemplateModel\save(), LocalAdapter\search(), ComponentAdapter\setupInstallPaths(), ComponentAdapter\setupUninstall(), FolderPathExistsRule\test(), InstallerHelper\unpack(), File\upload(), TemplateModel\uploadFile(), DatabaseHelper\validateConnectionParameters(), ApplicationModel\validateDbConnection(), File\write(), et Debug\xdebuglink().