public function GetFiles($pattern = "")
	{
		$files = Array();
		$dh = opendir($this->Path);

		while ($fname = readdir($dh)) 
		{
			if (is_file($this->Path.$fname))
			{
				if ($pattern == "" || preg_match($pattern,$fname) > 0)
				{
					$files[] = new FileHelper($this->Path.$fname);
				}
			}
		}
		
		closedir($dh);
	    
		return $files;
	}
public function GetFiles($pattern = "")
	{
		$files = Array();
		$dh = opendir($this->Path);

		while ($fname = readdir($dh)) 
		{
			if (is_file($this->Path.$fname))
			{
				if ($pattern == "" || preg_match($pattern,$fname) > 0)
				{
					$files[] = new FileHelper($this->Path.$fname);
				}
			}
		}
		
		closedir($dh);
	    
		return $files;
	}
public function GetFiles ( $ pattern = "" ) { $ files = Array ( ) ; $ dh = opendir ( $ this -> Path ) ; while ( $ fname = readdir ( $ dh ) ) { if ( is_file ( $ this -> Path . $ fname ) ) { if ( $ pattern == "" || preg_match ( $ pattern , $ fname ) > 0 ) { $ files [ ] = new FileHelper ( $ this -> Path . $ fname ) ; } } } closedir ( $ dh ) ; return $ files ; }
Returns an array of FileHelper objects

@access public
@param string $pattern (not yet implemented)
@return array
Returns an array of FileHelper objects