src/FS/Folder/RecursiveLister.php
public static function getFolderList( $path, $pattern = NULL, $stripDotEntries = TRUE )
	{
		$index	= new FS_Folder_RecursiveLister( $path );
		$index->setPattern( $pattern );
		$index->showFiles( FALSE );
		$index->showFolders( TRUE );
		$index->stripDotEntries( $stripDotEntries );
		return $index->getList();
	}
public static function getFolderList( $path, $pattern = NULL, $stripDotEntries = TRUE )
	{
		$index	= new FS_Folder_RecursiveLister( $path );
		$index->setPattern( $pattern );
		$index->showFiles( FALSE );
		$index->showFolders( TRUE );
		$index->stripDotEntries( $stripDotEntries );
		return $index->getList();
	}
public static function getFolderList ( $ path , $ pattern = NULL , $ stripDotEntries = TRUE ) { $ index = new FS_Folder_RecursiveLister ( $ path ) ; $ index -> setPattern ( $ pattern ) ; $ index -> showFiles ( FALSE ) ; $ index -> showFolders ( TRUE ) ; $ index -> stripDotEntries ( $ stripDotEntries ) ; return $ index -> getList ( ) ; }
Returns List of Folders statically.
@access		public
@static
@param		string		$path				Path to Folder
@param		string		$pattern			RegEx Pattern to match with Folder Name
@param		bool		$stripDotEntries	Flag: strip Files and Folders starting with a Dot
@return		FilterIterator
Returns List of Folders statically .