1 filetransfer.inc public FileTransfer::__isset($name)

Implementation of the magic __isset() method.

Parameters

string $name: The name of the variable to check.

File

core/includes/filetransfer/filetransfer.inc, line 152
Base FileTransfer class.

Class

FileTransfer
@file Base FileTransfer class.

Code

public function __isset($name) {
  if ($name == 'connection') {
    return isset($this->connectionHandle);
  }
  if ($name == 'chroot') {
    return isset($this->chrootPath);
  }
  return FALSE;
}