public function listContents($path, $filter = '.', $recursive = false, $full = false, $exclude = array('.svn', '.git', 'CVS', '.DS_Store', '__MACOSX'))
	{
		$path = Util::normalizePath($path);

		return (array) $this->adapter->listContents($path, $filter, $recursive, $full, $exclude);
	}
public function listContents($path, $filter = '.', $recursive = false, $full = false, $exclude = array('.svn', '.git', 'CVS', '.DS_Store', '__MACOSX'))
	{
		$path = Util::normalizePath($path);

		return (array) $this->adapter->listContents($path, $filter, $recursive, $full, $exclude);
	}
public function listContents ( $ path , $ filter = '.' , $ recursive = false , $ full = false , $ exclude = array ( '.svn' , '.git' , 'CVS' , '.DS_Store' , '__MACOSX' ) ) { $ path = Util :: normalizePath ( $ path ) ; return ( array ) $ this -> adapter -> listContents ( $ path , $ filter , $ recursive , $ full , $ exclude ) ; }
Get all contents within a given directory.

@param   string   $path     The path of the folder to read.
@param   string   $filter   A filter for file names.
@param   mixed    $recurse  True to recursively search into sub-folders, or an integer to specify the maximum depth.
@param   boolean  $full     True to return the full path to the file.
@param   array    $exclude  Array with names of files which should not be shown in the result.
@return  array
Get all contents within a given directory .