JFolder::create
From Joomla! Documentation
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.
JFolder::create[edit]
Description[edit]
Create a folder -- and all necessary parent folders.
Template:Description:JFolder::create [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFolder::create ($path= '', $mode=0755)
Parameter | Type | Default | Description |
---|---|---|---|
$path | string | A path to create from the base path. | |
$mode | int | 0755 | Directory permissions to set for folders created. |
Returns[edit]
boolean True if successful.
Defined in[edit]
libraries/joomla/filesystem/folder.php
Referenced by[edit]
- JArchiveZip::_extract
- JArchiveZip::_extractNative
- JInstallerLanguage::_install
- JFile::copy
- JArchiveTar::extract
- JArchive::extract
- JLoggerFormattedText::initFile
- JInstallerTemplate::install
- JInstallerPlugin::install
- JInstallerLibrary::install
- JInstallerComponent::install
- JInstallerModule::install
- JInstallerFile::install
- JInstaller::parseFiles
- JInstaller::parseLanguages
- JInstaller::parseMedia
- JInstallerComponent::update
- JFile::upload
- JFile::write
- JDaemon::writeProcessIdFile
See also[edit]
Template:SeeAlso:JFolder::create
Examples[edit]
<CodeExamplesForm />