Метод | Описание | |
---|---|---|
register ( ) : boolean | Registers protocol. | |
setContent ( string $content ) | Sets content. | |
stream_close ( ) : boolean | Closes file. | |
stream_eof ( ) : boolean | Determines if we have reached the end of the file. | |
stream_open ( string $path, string $mode, integer $options, string &$openedPath ) : boolean | Opens file. | |
stream_read ( integer $length ) : string | Reads from file. | |
stream_stat ( ) : array | Returns information about the file. | |
unregister ( ) : boolean | Unregisters protocol. |
public static setContent ( string $content ) | ||
$content | string | Content |
public stream_eof ( ) : boolean | ||
Результат | boolean |
public stream_read ( integer $length ) : string | ||
$length | integer | Read length |
Результат | string |
public stream_stat ( ) : array | ||
Результат | array |
public static unregister ( ) : boolean | ||
Результат | boolean |