API17

Difference between revisions of "JPath::clean"

From Joomla! Documentation

m (JoomlaWikiBot moved page JPath::clean/11.1 to API17:JPath::clean without leaving a redirect: Robot: Moved page)
m (moving preparation)
(One intermediate revision by the same user not shown)
Line 36: Line 36:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JArchiveZip::_extract/11.1|JArchiveZip::_extract]]
+
** [[API17:JArchiveZip::_extract|JArchiveZip::_extract]]
** [[JElementModuleLayouts::_getOptions/11.1|JElementModuleLayouts::_getOptions]]
+
** [[API17:JElementModuleLayouts::_getOptions|JElementModuleLayouts::_getOptions]]
** [[JElementComponentLayouts::_getOptions/11.1|JElementComponentLayouts::_getOptions]]
+
** [[API17:JElementComponentLayouts::_getOptions|JElementComponentLayouts::_getOptions]]
** [[JHtml::addIncludePath/11.1|JHtml::addIncludePath]]
+
** [[API17:JHtml::addIncludePath|JHtml::addIncludePath]]
** [[JCacheStorage::addIncludePath/11.1|JCacheStorage::addIncludePath]]
+
** [[API17:JCacheStorage::addIncludePath|JCacheStorage::addIncludePath]]
** [[JCache::addIncludePath/11.1|JCache::addIncludePath]]
+
** [[API17:JCache::addIncludePath|JCache::addIncludePath]]
** [[JModel::addIncludePath/11.1|JModel::addIncludePath]]
+
** [[API17:JModel::addIncludePath|JModel::addIncludePath]]
** [[JCacheController::addIncludePath/11.1|JCacheController::addIncludePath]]
+
** [[API17:JCacheController::addIncludePath|JCacheController::addIncludePath]]
** [[check/11.1|check]]
+
** [[check|check]]
** [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]]
+
** [[API17:JInstallerHelper::cleanupInstall|JInstallerHelper::cleanupInstall]]
** [[JFolder::copy/11.1|JFolder::copy]]
+
** [[API17:JFolder::copy|JFolder::copy]]
** [[JFile::copy/11.1|JFile::copy]]
+
** [[API17:JFile::copy|JFile::copy]]
** [[JInstaller::copyFiles/11.1|JInstaller::copyFiles]]
+
** [[API17:JInstaller::copyFiles|JInstaller::copyFiles]]
** [[JFolder::create/11.1|JFolder::create]]
+
** [[API17:JFolder::create|JFolder::create]]
** [[JFolder::delete/11.1|JFolder::delete]]
+
** [[API17:JFolder::delete|JFolder::delete]]
** [[JFile::delete/11.1|JFile::delete]]
+
** [[API17:JFile::delete|JFile::delete]]
** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]]
+
** [[API17:JInstallerComponent::discover_install|JInstallerComponent::discover_install]]
** [[JFolder::exists/11.1|JFolder::exists]]
+
** [[API17:JFolder::exists|JFolder::exists]]
** [[JFile::exists/11.1|JFile::exists]]
+
** [[API17:JFile::exists|JFile::exists]]
** [[JArchiveTar::extract/11.1|JArchiveTar::extract]]
+
** [[API17:JArchiveTar::extract|JArchiveTar::extract]]
** [[JArchive::extract/11.1|JArchive::extract]]
+
** [[API17:JArchive::extract|JArchive::extract]]
** [[JFolder::files/11.1|JFolder::files]]
+
** [[API17:JFolder::files|JFolder::files]]
** [[JFolder::folders/11.1|JFolder::folders]]
+
** [[API17:JFolder::folders|JFolder::folders]]
** [[JFormFieldModuleLayout::getInput/11.1|JFormFieldModuleLayout::getInput]]
+
** [[API17:JFormFieldModuleLayout::getInput|JFormFieldModuleLayout::getInput]]
** [[JFormFieldComponentLayout::getInput/11.1|JFormFieldComponentLayout::getInput]]
+
** [[API17:JFormFieldComponentLayout::getInput|JFormFieldComponentLayout::getInput]]
** [[getPermissions/11.1|getPermissions]]
+
** [[getPermissions|getPermissions]]
** [[JInstallerComponent::install/11.1|JInstallerComponent::install]]
+
** [[API17:JInstallerComponent::install|JInstallerComponent::install]]
** [[JInstallerFile::install/11.1|JInstallerFile::install]]
+
** [[API17:JInstallerFile::install|JInstallerFile::install]]
** [[JFolder::listFolderTree/11.1|JFolder::listFolderTree]]
+
** [[API17:JFolder::listFolderTree|JFolder::listFolderTree]]
** [[JFolder::move/11.1|JFolder::move]]
+
** [[API17:JFolder::move|JFolder::move]]
** [[JFile::move/11.1|JFile::move]]
+
** [[API17:JFile::move|JFile::move]]
** [[JInstaller::parseMedia/11.1|JInstaller::parseMedia]]
+
** [[API17:JInstaller::parseMedia|JInstaller::parseMedia]]
** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]]
+
** [[API17:JInstallerComponent::uninstall|JInstallerComponent::uninstall]]
** [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]]
+
** [[API17:JInstallerFile::uninstall|JInstallerFile::uninstall]]
** [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]]
+
** [[API17:JInstallerHelper::unpack|JInstallerHelper::unpack]]
** [[JInstallerComponent::update/11.1|JInstallerComponent::update]]
+
** [[API17:JInstallerComponent::update|JInstallerComponent::update]]
** [[JFile::upload/11.1|JFile::upload]]
+
** [[API17:JFile::upload|JFile::upload]]
** [[JFile::write/11.1|JFile::write]]
+
** [[API17:JFile::write|JFile::write]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JPath::clean source code''' on [[jplatform:filesystem/path.php#cl-159|BitBucket]]
 
* {{JVer|11.1}} '''JPath::clean source code''' on [[jplatform:filesystem/path.php#cl-159|BitBucket]]
* {{JVer|11.1}} Class [[JPath/11.1|JPath]]
+
* {{JVer|11.1}} Class [[API17:JPath|JPath]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JPath::clean|Other versions of JPath::clean]]
+
* [[API17:JPath::clean|Other versions of JPath::clean]]
 
{{SeeAlso:JPath::clean}}
 
{{SeeAlso:JPath::clean}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 94: Line 94:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JPath]][[Category:JPath::clean]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:19, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JPath::clean[edit]

Description[edit]

Function to strip additional / or \ in a path name.

Template:Description:JPath::clean [Edit Descripton]

public static function clean (
        $path
        $ds=DIRECTORY_SEPARATOR
)
Parameter Type Default Description
$path string The path to clean
$ds string DIRECTORY_SEPARATOR Directory separator (optional)

See also[edit]

Template:SeeAlso:JPath::clean [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />