Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileTransfer.php

function FileTransfer::__construct

Constructs a Drupal\Core\FileTransfer\FileTransfer object.

Parameters

$jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem.

6 calls to FileTransfer::__construct()
FTP::__construct in core/lib/Drupal/Core/FileTransfer/FTP.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
FTP::__construct in core/lib/Drupal/Core/FileTransfer/FTP.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
Local::__construct in core/lib/Drupal/Core/FileTransfer/Local.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
Local::__construct in core/lib/Drupal/Core/FileTransfer/Local.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
SSH::__construct in core/lib/Drupal/Core/FileTransfer/SSH.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.

... See full list

3 methods override FileTransfer::__construct()
FTP::__construct in core/lib/Drupal/Core/FileTransfer/FTP.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
Local::__construct in core/lib/Drupal/Core/FileTransfer/Local.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.
SSH::__construct in core/lib/Drupal/Core/FileTransfer/SSH.php
Constructs a Drupal\Core\FileTransfer\FileTransfer object.

File

core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 67

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal