|
RecursiveDirectoryIterator::getSubPathnameGet sub path and name Description
public string RecursiveDirectoryIterator::getSubPathname()
Gets the sub path and filename. ParametersThis function has no parameters. Return ValuesThe sub path (sub directory) and filename. Examples
Example #1 getSubPathname 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
|