function TestFileTransfer::isDirectory

Checks if a particular path is a directory

Parameters

$path: The path to check

Return value

boolean

Overrides FileTransfer::isDirectory

File

modules/simpletest/tests/filetransfer.test, line 139

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isDirectory($path) {
  return $this->shouldIsDirectoryReturnTrue;
}

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