API17:JFolder::create
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFolder::create
Description
Create a folder -- and all necessary parent folders.
Description:JFolder::create [Edit Descripton]
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
SeeAlso:JFolder::create [Edit See Also]
User contributed notes
<CodeExamplesForm />
