In the following code, what can be called instead of ->getFilename()
?
<?php
foreach (new DirectoryIterator('../moodle') as $fileInfo) {
if($fileInfo->isDot()) continue;
echo $fileInfo->getFilename() . "<br>\n";
}
?>
PS, I have seen the documentation. Please don't link to here.
Thanks for the help.
EDIT:
After posting this I realized that the Docs had the answer. My real question becomes, what do the other methods do? The Docs seem to be limited in regards to that.