|
RecursiveDirectoryIterator::getSubPathGet sub path Description
public string RecursiveDirectoryIterator::getSubPath()
Returns the sub path relative to the directory given in the constructor. ParametersThis function has no parameters. Return ValuesThe sub path. Examples
Example #1 getSubPath example
The above example will output something similar to:
SubPathName: fruit/apple.xml
SubPath: fruit
SubPathName: stuff.xml
SubPath:
SubPathName: veggies/carrot.xml
SubPath: veggies
See Also
|