Get all the files and directories of a relative path.
public getFiles ( string $path, $articleId ) : array | ||
$path | string | relative path to be base path. |
리턴 | array | of file and path information.
array(0 => array('relative'=>'fullpath',...),
1 => array('filename'=>fileinfo array(),...)
fileinfo array:
array('url'=>'full url',
'relative'=>'relative to base',
'fullpath'=>'full file path',
'image'=>imageInfo array() false if not image,
'stat' => filestat)
|