public function DrupalLocalStreamWrapper::stream_write
Support for fwrite(), file_put_contents() etc.
Parameters
$data: The string to be written.
Return value
The number of bytes written (integer).
Overrides StreamWrapperInterface::stream_write
See also
http://php.net/manual/streamwrapper.stream-write.php
Archivo
- drupal-7.x/
includes/ stream_wrappers.inc, line 468 - Drupal stream wrapper interface.
Class
- DrupalLocalStreamWrapper
- Drupal stream wrapper base class for local files.
Código
public function stream_write($data) {
return fwrite($this->handle, $data);
}