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) | |
Champs de données | |
$position = 0 | |
$name | |
$buffers = array() | |
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.
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 STREAN_USE_PATH option |
Références Buffer\$name, $path, $url, name, et null.
stream_read | ( | $count | ) |
Read stream
integer | $count | How many bytes of data from the current position should be returned. |
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 |
stream_tell | ( | ) |
Function to get the current position of the stream
Références Buffer\$position.
stream_write | ( | $data | ) |
Write stream
string | $data | The data to write to the stream. |
Références $data, Buffer\$name, et name.
$buffers = array() |
$name |
Référencé par Buffer\stream_open(), et Buffer\stream_write().
$position = 0 |
Référencé par Buffer\stream_tell().