Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($stream='php://input') | |
__toString () | |
isWritable () | |
read ($length) | |
getContents ($maxLength=-1) | |
Fonctions membres publiques hérités de Stream | |
__construct ($stream, string $mode='r') | |
__toString () | |
close () | |
detach () | |
attach ($resource, string $mode='r') | |
getSize () | |
tell () | |
eof () | |
isSeekable () | |
seek ($offset, $whence=SEEK_SET) | |
rewind () | |
isWritable () | |
write ($string) | |
isReadable () | |
read ($length) | |
getContents () | |
getMetadata ($key=null) | |
Attributs privés | |
$cache = '' | |
$reachedEof = false | |
Membres hérités additionnels | |
Attributs protégés hérités de Stream | |
$resource | |
$stream | |
Caching version of php://input
__construct | ( | $stream = 'php://input' | ) |
string | resource | $stream |
Références Stream\$stream, et Symfony\Contracts\Service\__construct().
__toString | ( | ) |
{Reads all data from the stream into a string, from the beginning to end.This method MUST attempt to seek to the beginning of the stream before reading data and read the stream until the end is reached.Warning: This could attempt to load a large amount of data into memory.This method MUST NOT raise an exception in order to conform with PHP's string casting operations.
Implémente StreamInterface.
Références PhpInputStream\$cache, et Stream\getContents().
getContents | ( | $maxLength = -1 | ) |
{}
Références PhpInputStream\$cache, et Stream\eof().
isWritable | ( | ) |
read | ( | $length | ) |
{Read data from the stream.
int | $length | Read up to $length bytes from the object and return them. Fewer than $length bytes may be returned if underlying stream call returns fewer bytes. |
Implémente StreamInterface.
Références $content, et Stream\eof().
|
private |
Référencé par PhpInputStream\__toString(), et PhpInputStream\getContents().
|
private |