Difference between revisions of "JFolder"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (moving preparation) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::copy | + | |[[API17:JFolder::copy|copy]] |
|Copy a folder. | |Copy a folder. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::create | + | |[[API17:JFolder::create|create]] |
|Create a folder -- and all necessary parent folders. | |Create a folder -- and all necessary parent folders. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::delete | + | |[[API17:JFolder::delete|delete]] |
|Delete a folder. | |Delete a folder. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::exists | + | |[[API17:JFolder::exists|exists]] |
|Wrapper for the standard file_exists function. | |Wrapper for the standard file_exists function. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::files | + | |[[API17:JFolder::files|files]] |
|Utility function to read the files in a folder. | |Utility function to read the files in a folder. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::folders | + | |[[API17:JFolder::folders|folders]] |
|Utility function to read the folders in a folder. | |Utility function to read the folders in a folder. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::listFolderTree | + | |[[API17:JFolder::listFolderTree|listFolderTree]] |
|Lists folder in format suitable for tree display. | |Lists folder in format suitable for tree display. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::makeSafe | + | |[[API17:JFolder::makeSafe|makeSafe]] |
|Makes path name safe to use. | |Makes path name safe to use. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFolder::move | + | |[[API17:JFolder::move|move]] |
|Moves a folder. | |Moves a folder. | ||
|- | |- | ||
Line 55: | Line 55: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFolder source code''' on [[jplatform:filesystem/folder.php|BitBucket]] | * {{JVer|11.1}} '''JFolder source code''' on [[jplatform:filesystem/folder.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Filesystem|Filesystem]] |
− | * [[JFolder|Other versions of JFolder]] | + | * [[API17:JFolder|Other versions of JFolder]] |
{{SeeAlso:JFolder}} | {{SeeAlso:JFolder}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 20:41, 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.
JFolder[edit]
Description[edit]
Template:Description:JFolder [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | copy | Copy a folder. |
public static | create | Create a folder -- and all necessary parent folders. |
public static | delete | Delete a folder. |
public static | exists | Wrapper for the standard file_exists function. |
public static | files | Utility function to read the files in a folder. |
public static | folders | Utility function to read the folders in a folder. |
public static | listFolderTree | Lists folder in format suitable for tree display. |
public static | makeSafe | Makes path name safe to use. |
public static | move | Moves a folder. |
- Defined in libraries/joomla/filesystem/folder.php
Importing[edit]
jimport( 'joomla.filesystem.folder' );
See also[edit]
- JFolder source code on BitBucket
- Subpackage Filesystem
- Other versions of JFolder
Template:SeeAlso:JFolder [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />