FilesystemIterator::setFlagsSets handling flags Beschreibung
public void FilesystemIterator::setFlags
([ int
$flags
] )Sets handling flags. RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 FilesystemIterator::key example This example demonstrates the difference between the FilesystemIterator::KEY_AS_PATHNAME and FilesystemIterator::KEY_AS_FILENAME flags.
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Key as Pathname: /www/examples/apple.jpg /www/examples/banana.jpg /www/examples/example.php Key as Filename: apple.jpg banana.jpg example.php Siehe auch
|