function FileTransfer::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__construct()
  2. 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__construct()
  3. 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__construct()
  4. 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__construct()

The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.

3 calls to FileTransfer::__construct()
FileTransferFTP::__construct in includes/filetransfer/ftp.inc
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.
FileTransferSSH::__construct in includes/filetransfer/ssh.inc
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.
TestFileTransfer::__construct in modules/simpletest/tests/filetransfer.test
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.
3 methods override FileTransfer::__construct()
FileTransferFTP::__construct in includes/filetransfer/ftp.inc
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.
FileTransferSSH::__construct in includes/filetransfer/ssh.inc
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.
TestFileTransfer::__construct in modules/simpletest/tests/filetransfer.test
The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.

File

includes/filetransfer/filetransfer.inc, line 24

Class

FileTransfer

Code

function __construct($jail) {
    $this->jail = $jail;
}

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