FileTransferFTP::__construct

public function FileTransferFTP::__construct

public FileTransferFTP::__construct($jail, $username, $password, $hostname, $port)

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

Overrides FileTransfer::__construct

File

includes/filetransfer/ftp.inc, line 8

Class

FileTransferFTP
Base class for FTP implementations.

Code

public function __construct($jail, $username, $password, $hostname, $port) {
  $this->username = $username;
  $this->password = $password;
  $this->hostname = $hostname;
  $this->port = $port;
  parent::__construct($jail);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!filetransfer!ftp.inc/function/FileTransferFTP::__construct/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部