Concept Framework 1.0 documentation Contents | Index

DirectoryList.ListByExt

Name Type Access Version Deprecated
ListByExt function static version 1.0 no

Prototype:
static function ListByExt(directory, ext_arr, nodir);

Parameters:
directory      the path that you want to list
ext_arr      an array containing the required file extension; if ext_arr is ["*"] will show all files
nodir      true or false. True if you need to exclude all the directories from the results.

Description:
Lists the items in the current directory if match a given list of extension.

Returns:
Returns an array containing the filenames.

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:00 2009 GMT(c)2009 RadGs Software