API17

JFolder

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.

Joomla 11.1 JFolder[edit]

Description[edit]

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]


User contributed notes[edit]

Code Examples[edit]