Search for scan
| Title | Object type | File name | Summary |
|---|---|---|---|
| drupal_file_scan_write_cache | function | includes/ |
Writes the file scan cache to the persistent cache. |
| FileScanDirectory | class | modules/ |
Tests the file_scan_directory() function. |
| FileScanDirectory::$path | property | modules/ |
|
| FileScanDirectory::getInfo | function | modules/ |
|
| FileScanDirectory::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| FileScanDirectory::testNoMask | function | modules/ |
Tests file_scan_directory() obeys 'file_scan_ignore_directories' setting. If nomask is not passed as argument, it should use the default settings. If nomask is passed as argument, it should obey this rule. |
| FileScanDirectoryTest | class | modules/ |
Tests the file_scan_directory() function. |
| FileScanDirectoryTest::$path | property | modules/ |
|
| FileScanDirectoryTest::getInfo | function | modules/ |
|
| FileScanDirectoryTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| FileScanDirectoryTest::testOptionCallback | function | modules/ |
Check that the callback function is called correctly. |
| FileScanDirectoryTest::testOptionKey | function | modules/ |
Check that key parameter sets the return value's key. |
| FileScanDirectoryTest::testOptionMinDepth | function | modules/ |
Check that the min_depth options lets us ignore files in the starting directory. |
| FileScanDirectoryTest::testOptionNoMask | function | modules/ |
Check that the no-mask parameter is honored. |
| FileScanDirectoryTest::testOptionRecurse | function | modules/ |
Check that the recurse option decends into subdirectories. |
| FileScanDirectoryTest::testReturn | function | modules/ |
Check the format of the returned values. |
| file_scan_directory | function | includes/ |
Finds all files that match a given mask in a given directory. |
| file_test_file_scan_callback | function | modules/ |
Helper function for testing file_scan_directory(). |
| file_test_file_scan_callback_reset | function | modules/ |
Reset static variables used by file_test_file_scan_callback(). |
| RemoteFileScanDirectoryTest | class | modules/ |
Tests the file_scan_directory() function on remote filesystems. |
| RemoteFileScanDirectoryTest::getInfo | function | modules/ |
|
| RemoteFileScanDirectoryTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| TokenScanTest | class | modules/ |
Test token replacement in strings. |
| TokenScanTest::getInfo | function | modules/ |
|
| TokenScanTest::testTokenScan | function | modules/ |
Scans dummy text, then tests the output. |
| token_scan | function | includes/ |
Builds a list of all token-like patterns that appear in the text. |
| _drupal_file_scan_cache | function | includes/ |
Returns the current list of cached file system scan results. |
| _drupal_get_filename_perform_file_scan | function | includes/ |
Performs a file system scan to search for a system resource. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.