function DrupalStreamWrapperInterface::chmod

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.

1 method overrides DrupalStreamWrapperInterface::chmod()
DrupalLocalStreamWrapper::chmod in includes/stream_wrappers.inc
Base implementation of chmod().

File

includes/stream_wrappers.inc, line 188

Class

DrupalStreamWrapperInterface
Drupal stream wrapper extension.

Code

public function chmod($mode);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.