1.14.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.12.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.10.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.11.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.13.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.7.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.8.x stream_wrappers.inc public BackdropStreamWrapperInterface::chmod($mode)
1.9.x stream_wrappers.inc public BackdropStreamWrapperInterface::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 Backdrop.

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
Backdrop stream wrapper interface.

Class

BackdropStreamWrapperInterface
Backdrop stream wrapper extension.

Code

public function chmod($mode);