RecursiveDirectoryIterator
在线手册:中文 英文
PHP手册

RecursiveDirectoryIterator::getSubPathname

(PHP 5 >= 5.1.0)

RecursiveDirectoryIterator::getSubPathnameGet sub path and name

说明

public string RecursiveDirectoryIterator::getSubPathname ( void )

Gets the sub path and filename.

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

The sub path (sub directory) and filename.

参见


RecursiveDirectoryIterator
在线手册:中文 英文
PHP手册
PHP手册 - N: Get sub path and name

用户评论:

info at diy-cms dot com (30-Apr-2011 12:50)

In case you run into a cross-platform issue when retrieving the sub-path , use FilesystemIterator::UNIX_PATHS flag to fix it