You are here

public function DrupalStreamWrapperInterface::chmod in AmazonS3 7.2

Changes permissions of the resource.

PHP lacks this functionality and it is not part of the official stream wrapper interface. This is a custom implementation for Drupal.

Parameters

$mode: Integer value for the permissions. Consult PHP chmod() documentation for more information.

Return value

Returns TRUE on success or FALSE on failure.

File

tests/include/DrupalStreamWrapperInterface.inc, line 103
Copy in Drupal's stream wrapper interfaces so we don't rely on finding a Drupal installation to run PHPUnit tests.

Class

DrupalStreamWrapperInterface
Drupal stream wrapper extension.

Code

public function chmod($mode);