Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
stream_open ($path, $mode, $options, &$openedPath) | |
stream_read ($count) | |
stream_write ($data) | |
stream_tell () | |
stream_eof () | |
stream_seek ($offset, $whence) | |
Fonctions membres publiques statiques | |
static | stream_register () |
Champs de données | |
$position = 0 | |
$name = null | |
$buffers = array() | |
Fonctions membres protégées | |
seek_set ($offset) | |
seek_cur ($offset) | |
seek_end ($offset) | |
Attributs privés statiques | |
static | $registered = false |
Generic Buffer stream handler
This class provides a generic buffer stream. It can be used to store/retrieve/manipulate string buffers with the standard PHP filesystem I/O methods.
|
protected |
Adds the offset to current position
integer | $offset | The offset in bytes |
Références $offset.
|
protected |
|
protected |
stream_eof | ( | ) |
Function to test for end of file pointer
Références name.
stream_open | ( | $path, | |
$mode, | |||
$options, | |||
& | $openedPath | ||
) |
Function to open file or url
string | $path | The URL that was passed |
string | $mode | Mode used to open the file |
integer | $options | Flags used by the API, may be STREAM_USE_PATH and STREAM_REPORT_ERRORS |
string | &$openedPath | Full path of the resource. Used with STREAM_USE_PATH option |
stream_read | ( | $count | ) |
Read stream
integer | $count | How many bytes of data from the current position should be returned. |
|
static |
Function to register the stream wrapper
Référencé par FtpClient\__construct().
stream_seek | ( | $offset, | |
$whence | |||
) |
The read write position updates in response to $offset and $whence
integer | $offset | The offset in bytes |
integer | $whence | Position the offset is added to Options are SEEK_SET, SEEK_CUR, and SEEK_END |
Références $offset.
stream_tell | ( | ) |
Function to get the current position of the stream
Références $position.
stream_write | ( | $data | ) |
$buffers = array() |
$position = 0 |
|
staticprivate |