1 filetransfer.inc | public FileTransfer::__set($name, $value) |
Implementation of the magic __set() method.
Parameters
string $name: The name of the variable to set.
string|object|false|null $value: The value to be assigned to the variable.
File
- core/
includes/ filetransfer/ filetransfer.inc, line 137 - Base FileTransfer class.
Class
- FileTransfer
- @file Base FileTransfer class.
Code
public function __set($name, $value) {
if ($name == 'connection') {
$this->connectionHandle = $value;
}
elseif ($name == 'chroot') {
$this->chrootPath = $value;
}
}