\FolderDataExtension
Provides extra functionality to Folder.
Add this extension to a Folder instance
by adding this to your _config.php:
Object::add_extension('Folder', 'FolderDataExtension');
- Author: arillo
Synopsis
class FolderDataExtension
extends DataExtension
{
- // methods
- public ArrayList getSortedChildFolders()
- public DataList getSortedChildren()
Hierarchy
Extends
- DataExtension
Methods
public
- getSortedChildFolders() — Get the children sorted by name of this folder that are also folders.
- getSortedChildren() — All subfolders and files sorted by $sort.