API17:JFolder::create
From Joomla! Documentation
JFolder::create
Description
Create a folder -- and all necessary parent folders.
public static function 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 boolean True if successful.
- Defined on line 156 of libraries/joomla/filesystem/folder.php
- Since
- Referenced by
- 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
JFolder::create source code on BitBucket
Class JFolder
Subpackage Filesystem
- Other versions of JFolder::create
User contributed notes
Code Examples