Local::copyFileJailed

protected Local::copyFileJailed($source, $destination) Copies a file. Parameters string $source: The source file. string $destination: The destination file. Overrides FileTransfer::copyFileJailed File core/lib/Drupal/Core/FileTransfer/Local.php, line 27 Class Local Defines the local connection class for copying files as the httpd user. Namespace Drupal\Core\FileTransfer Code protected function copyFileJailed($source, $destination) { if (@!copy($source, $destination)) { throw new

Local::connect

public Local::connect() Connects to the server. Overrides FileTransfer::connect File core/lib/Drupal/Core/FileTransfer/Local.php, line 13 Class Local Defines the local connection class for copying files as the httpd user. Namespace Drupal\Core\FileTransfer Code public function connect() { // No-op }

Local::chmodJailed

public Local::chmodJailed($path, $mode, $recursive) Changes the permissions of the file / directory specified in $path Parameters string $path: Path to change permissions of. int $mode: The new file permission mode to be passed to chmod(). bool $recursive: Pass TRUE to recursively chmod the entire directory specified in $path. Overrides ChmodInterface::chmodJailed See also http://php.net/chmod File core/lib/Drupal/Core/FileTransfer/Local.php, line 93 Class Local Defines the local connect

Local

Defines the local connection class for copying files as the httpd user. Hierarchy class \Drupal\Core\FileTransfer\FileTransferclass \Drupal\Core\FileTransfer\Local implements ChmodInterface File core/lib/Drupal/Core/FileTransfer/Local.php, line 8 Namespace Drupal\Core\FileTransfer Members Name Modifiers Type Description FileTransfer::$hostname protected property The hostname for this file transfer. FileTransfer::$password protected property The password for this

ListInterface::set

public ListInterface::set($index, $value) Sets the value of the item at a given position in the list. Parameters int $index: The position of the item in the list. Since a List only contains sequential, 0-based indexes, $index has to be: Either the position of an existing item in the list. This updates the item value. Or the next available position in the sequence of the current list indexes. This appends a new item with the provided value at the end of the list. mixed $value: The value of

ListInterface::removeItem

public ListInterface::removeItem($index) Removes the item at the specified position. Parameters int $index: Index of the item to remove. Return value $this File core/lib/Drupal/Core/TypedData/ListInterface.php, line 113 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function removeItem($index);

ListInterface::isEmpty

public ListInterface::isEmpty() Determines whether the list contains any non-empty items. Return value bool TRUE if the list is empty, FALSE otherwise. File core/lib/Drupal/Core/TypedData/ListInterface.php, line 34 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function isEmpty();

ListInterface::getItemDefinition

public ListInterface::getItemDefinition() Gets the definition of a contained item. Return value \Drupal\Core\TypedData\DataDefinitionInterface The data definition of contained items. File core/lib/Drupal/Core/TypedData/ListInterface.php, line 42 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function getItemDefinition();

ListInterface::getDataDefinition

public ListInterface::getDataDefinition() Gets the data definition. Return value \Drupal\Core\TypedData\ListDataDefinitionInterface The data definition object describing the list. Overrides TypedDataInterface::getDataDefinition File core/lib/Drupal/Core/TypedData/ListInterface.php, line 26 Class ListInterface Interface for a list of typed data. Namespace Drupal\Core\TypedData Code public function getDataDefinition();

ListInterface::get

public ListInterface::get($index) Returns the item at the specified position in this list. Parameters int $index: Index of the item to return. Return value \Drupal\Core\TypedData\TypedDataInterface|null The item at the specified position in this list, or NULL if no item exists at that position. Throws \Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no item can be created. File core/lib/Drupal/Core/TypedData/ListInterface.php, line 57 Class