src/FS/Folder/RecursiveLister.php
public static function getFileList( $path, $pattern = NULL )
	{
		$index	= new FS_Folder_RecursiveLister( $path );
		$index->setPattern( $pattern );
		$index->showFiles( TRUE );
		$index->showFolders( FALSE );
		return $index->getList();
	}
public static function getFileList( $path, $pattern = NULL )
	{
		$index	= new FS_Folder_RecursiveLister( $path );
		$index->setPattern( $pattern );
		$index->showFiles( TRUE );
		$index->showFolders( FALSE );
		return $index->getList();
	}
public static function getFileList ( $ path , $ pattern = NULL ) { $ index = new FS_Folder_RecursiveLister ( $ path ) ; $ index -> setPattern ( $ pattern ) ; $ index -> showFiles ( TRUE ) ; $ index -> showFolders ( FALSE ) ; return $ index -> getList ( ) ; }
Returns List of Files statically.
@access		public
@static
@param		string		$path				Path to Folder
@param		string		$pattern			RegEx Pattern to match with File Name
@return		FilterIterator
Returns List of Files statically .