function TestFileTransfer::isFile in Drupal 7
Checks if a particular path is a file (not a directory).
Parameters
$path: The path to check
Return value
boolean
Overrides FileTransfer::isFile
File
- modules/
simpletest/ tests/ filetransfer.test, line 142
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Code
function isFile($path) {
return FALSE;
}