Search for to

  1. Search 9.5.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
FileDirectoryTest::testFileCreateNewFilepath function modules/simpletest/tests/file.test This will take a directory and path, and find a valid filepath that is not
taken by another file.
FileDirectoryTest::testFileDestination function modules/simpletest/tests/file.test This will test the filepath for a destination based on passed flags and
whether or not the file exists.
FileDirectoryTest::testFileDirectoryTemp function modules/simpletest/tests/file.test Ensure that the file_directory_temp() function always returns a value.
FileManagedFileElementTestCase::_postMaxSizeToInteger function modules/file/tests/file.test Converts php.ini post_max_size value to integer.
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.
FileScanDirectoryTest::testReturn function modules/simpletest/tests/file.test Check the format of the returned values.
FileTestCase::assertDirectoryPermissions function modules/simpletest/tests/file.test Helper function to test the permissions of a directory.
FileTestCase::createDirectory function modules/simpletest/tests/file.test Create a directory and assert it exists.
FileTokenReplaceTestCase class modules/file/tests/file.test Tests the file token replacement in strings.
FileTokenReplaceTestCase::getInfo function modules/file/tests/file.test
FileTokenReplaceTestCase::testFileTokenReplacement function modules/file/tests/file.test Creates a file, then tests the tokens generated from it.
FileTranferTest::_writeDirectory function modules/simpletest/tests/filetransfer.test
FileTransfer::copyDirectory function includes/filetransfer/filetransfer.inc Copies a directory.
FileTransfer::copyDirectoryJailed function includes/filetransfer/filetransfer.inc Copies a directory.
FileTransfer::createDirectory function includes/filetransfer/filetransfer.inc Creates a directory.
FileTransfer::createDirectoryJailed function includes/filetransfer/filetransfer.inc Creates a directory.
FileTransfer::factory function includes/filetransfer/filetransfer.inc Classes that extend this class must override the factory() static method.
FileTransfer::isDirectory function includes/filetransfer/filetransfer.inc Checks if a particular path is a directory
FileTransfer::removeDirectory function includes/filetransfer/filetransfer.inc Removes a directory.
FileTransfer::removeDirectoryJailed function includes/filetransfer/filetransfer.inc Removes a directory.
FileTransferFTP::factory function includes/filetransfer/ftp.inc Return an object which can implement the FTP protocol.
FileTransferFTPExtension::createDirectoryJailed function includes/filetransfer/ftp.inc Creates a directory.
FileTransferFTPExtension::isDirectory function includes/filetransfer/ftp.inc Checks if a particular path is a directory
FileTransferFTPExtension::removeDirectoryJailed function includes/filetransfer/ftp.inc Removes a directory.
FileTransferLocal::createDirectoryJailed function includes/filetransfer/local.inc Creates a directory.
FileTransferLocal::factory function includes/filetransfer/local.inc Classes that extend this class must override the factory() static method.
FileTransferLocal::isDirectory function includes/filetransfer/local.inc Checks if a particular path is a directory
FileTransferLocal::removeDirectoryJailed function includes/filetransfer/local.inc Removes a directory.
FileTransferSSH::copyDirectoryJailed function includes/filetransfer/ssh.inc Copies a directory.
FileTransferSSH::createDirectoryJailed function includes/filetransfer/ssh.inc Creates a directory.
FileTransferSSH::factory function includes/filetransfer/ssh.inc Classes that extend this class must override the factory() static method.
FileTransferSSH::isDirectory function includes/filetransfer/ssh.inc WARNING: This is untested. It is not currently used, but should do the trick.
FileTransferSSH::removeDirectoryJailed function includes/filetransfer/ssh.inc Removes a directory.
FileUnmanagedCopyTest::testOverwriteSelf function modules/simpletest/tests/file.test Copy a file onto itself.
FileUnmanagedDeleteRecursiveTest::testDirectory function modules/simpletest/tests/file.test Try deleting a directory with some files.
FileUnmanagedDeleteRecursiveTest::testEmptyDirectory function modules/simpletest/tests/file.test Try deleting an empty directory.
FileUnmanagedDeleteRecursiveTest::testSubDirectory function modules/simpletest/tests/file.test Try deleting subdirectories with some files.

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