You are here

interface FileTransferChmodInterface in Drupal 7

A FileTransfer Class implementing this interface can be used to chmod files.

Hierarchy

Expanded class hierarchy of FileTransferChmodInterface

All classes that implement FileTransferChmodInterface

1 string reference to 'FileTransferChmodInterface'
FileTransfer::chmod in includes/filetransfer/filetransfer.inc

File

includes/filetransfer/filetransfer.inc, line 376

View source
interface FileTransferChmodInterface {

  /**
   * Changes the permissions of the file / directory specified in $path
   *
   * @param string $path
   *   Path to change permissions of.
   * @param long $mode
   *   The new file permission mode to be passed to chmod().
   * @param boolean $recursive
   *   Pass TRUE to recursively chmod the entire directory specified in $path.
   */
  function chmodJailed($path, $mode, $recursive);

}

Members

Namesort descending Modifiers Type Description Overrides
FileTransferChmodInterface::chmodJailed function Changes the permissions of the file / directory specified in $path 3