DrupalStreamWrapperInterface::chmod
public function DrupalStreamWrapperInterface::chmod
public DrupalStreamWrapperInterface::chmod($mode)
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
- includes/stream_wrappers.inc, line 188
- Drupal stream wrapper interface.
Class
- DrupalStreamWrapperInterface
- Drupal stream wrapper extension.
Code
public function chmod($mode);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!stream_wrappers.inc/function/DrupalStreamWrapperInterface::chmod/7.x