Search for file

  1. Search 9.5.x for file
  2. Search 8.9.x for file
  3. Search 10.3.x for file
  4. Search 11.x for file
  5. Other projects
Title Object type File name Summary
FileNameMungingTest::testMungeIgnoreInsecure function modules/simpletest/tests/file.test If the allow_insecure_uploads variable evaluates to true, the file should
come out untouched, no matter how evil the filename.
FileNameMungingTest::testMungeIgnoreWhitelisted function modules/simpletest/tests/file.test White listed extensions are ignored by file_munge_filename().
FileNameMungingTest::testMungeNullByte function modules/simpletest/tests/file.test Tests munging with a null byte in the filename.
FileNameMungingTest::testMungeUnsafe function modules/simpletest/tests/file.test Tests unsafe extensions are munged by file_munge_filename().
FileNameMungingTest::testMunging function modules/simpletest/tests/file.test Create a file and munge/unmunge the name.
FileNameMungingTest::testUnMunge function modules/simpletest/tests/file.test Ensure that unmunge gets your name back.
FilePrivateTestCase class modules/file/tests/file.test Tests file access on private nodes.
FilePrivateTestCase::getInfo function modules/file/tests/file.test
FilePrivateTestCase::setUp function modules/file/tests/file.test Sets up a Drupal site for running functional and integration tests.
FilePrivateTestCase::testPrivateFile function modules/file/tests/file.test Tests file access for file uploaded to a private node.
FilePrivateTestCase::testPrivateFileDownloadAccessGranted function modules/file/tests/file.test Tests file access for private nodes when file download access is granted.
FileSaveDataTest class modules/simpletest/tests/file.test Tests the file_save_data() function.
FileSaveDataTest::getInfo function modules/simpletest/tests/file.test
FileSaveDataTest::testExistingError function modules/simpletest/tests/file.test Test that file_save_data() fails overwriting an existing file.
FileSaveDataTest::testExistingRename function modules/simpletest/tests/file.test Test file_save_data() when renaming around an existing file.
FileSaveDataTest::testExistingReplace function modules/simpletest/tests/file.test Test file_save_data() when replacing an existing file.
FileSaveDataTest::testWithFilename function modules/simpletest/tests/file.test Test the file_save_data() function when a filename is provided.
FileSaveDataTest::testWithoutFilename function modules/simpletest/tests/file.test Test the file_save_data() function when no filename is provided.
FileSaveTest class modules/simpletest/tests/file.test Tests the file_save() function.
FileSaveTest::getInfo function modules/simpletest/tests/file.test
FileSaveTest::testFileSave function modules/simpletest/tests/file.test
FileSaveUploadTest class modules/simpletest/tests/file.test Test the file_save_upload() function.
FileSaveUploadTest::$image property modules/simpletest/tests/file.test An image file path for uploading.
FileSaveUploadTest::$image_extension property modules/simpletest/tests/file.test An image extension.
FileSaveUploadTest::$maxFidBefore property modules/simpletest/tests/file.test The largest file id when the test starts.
FileSaveUploadTest::$phpfile property modules/simpletest/tests/file.test A PHP file path for upload security testing.
FileSaveUploadTest::getInfo function modules/simpletest/tests/file.test
FileSaveUploadTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileSaveUploadTest::testExistingError function modules/simpletest/tests/file.test Test for failure when uploading over a file that already exists.
FileSaveUploadTest::testExistingRename function modules/simpletest/tests/file.test Test renaming when uploading over a file that already exists.
FileSaveUploadTest::testExistingReplace function modules/simpletest/tests/file.test Test replacement when uploading over a file that already exists.
FileSaveUploadTest::testHandleDangerousFile function modules/simpletest/tests/file.test Test dangerous file handling.
FileSaveUploadTest::testHandleExtension function modules/simpletest/tests/file.test Test extension handling.
FileSaveUploadTest::testHandleFileMunge function modules/simpletest/tests/file.test Test file munge handling.
FileSaveUploadTest::testNormal function modules/simpletest/tests/file.test Test the file_save_upload() function.
FileSaveUploadTest::testNoUpload function modules/simpletest/tests/file.test Test for no failures when not uploading a file.
FileScanDirectory class modules/file/tests/file.test Tests the file_scan_directory() function.
FileScanDirectory::$path property modules/file/tests/file.test
FileScanDirectory::getInfo function modules/file/tests/file.test
FileScanDirectory::setUp function modules/file/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileScanDirectory::testNoMask function modules/file/tests/file.test 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/simpletest/tests/file.test Tests the file_scan_directory() function.
FileScanDirectoryTest::$path property modules/simpletest/tests/file.test
FileScanDirectoryTest::getInfo function modules/simpletest/tests/file.test
FileScanDirectoryTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileScanDirectoryTest::testOptionCallback function modules/simpletest/tests/file.test Check that the callback function is called correctly.
FileScanDirectoryTest::testOptionKey function modules/simpletest/tests/file.test Check that key parameter sets the return value's key.
FileScanDirectoryTest::testOptionMinDepth function modules/simpletest/tests/file.test Check that the min_depth options lets us ignore files in the starting
directory.
FileScanDirectoryTest::testOptionNoMask function modules/simpletest/tests/file.test Check that the no-mask parameter is honored.
FileScanDirectoryTest::testOptionRecurse function modules/simpletest/tests/file.test Check that the recurse option decends into subdirectories.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.