GeneralUtility is a powerful utility class in the TYPO3 CMS core that provides a wide range of helper functions for developers. One of these functions is getFilesInDir(), which allows you to retrieve a list of all files and directories within a given directory.
Examples:
Example 1 => Retrieving all files in the "uploads" directory
In all of these examples, the getFilesInDir() function is being used to retrieve a list of files within a directory. Note that this function is part of the TYPO3 CMS core utility library.
PHP TYPO3\CMS\Core\Utility GeneralUtility::getFilesInDir - 30 examples found. These are the top rated real world PHP examples of TYPO3\CMS\Core\Utility\GeneralUtility::getFilesInDir extracted from open source projects. You can rate examples to help us improve the quality of examples.