function FileTransferLocal::isFile

Checks if a particular path is a file (not a directory).

Parameters

$path: The path to check

Return value

boolean

Overrides FileTransfer::isFile

File

includes/filetransfer/local.inc, line 60

Class

FileTransferLocal
The local connection class for copying files as the httpd user.

Code

public function isFile($path) {
  return is_file($path);
}

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