|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| stream_open ($path, $mode, $options, $opened_path) | |
| stream_close () | |
| stream_read ($count) | |
| stream_write ($data) | |
| stream_eof () | |
| stream_tell () | |
| stream_seek ($offset, $whence) | |
| stream_flush () | |
| stream_stat () | |
| unlink ($path) | |
| rename ($path_from, $path_to) | |
| url_stat ($path, $flags) | |
| mkdir ($path, $mode, $options) | |
| rmdir ($path, $options) | |
| dir_opendir ($path, $options) | |
| dir_readdir () | |
| dir_rewinddir () | |
| dir_closedir () | |
Protected Member Functions | |
| _getStorageClient ($path= '') | |
| _getContainerName ($path) | |
| _getFileName ($path) | |
Definition at line 41 of file Stream.php.
| _getContainerName | ( | $ | path | ) | [protected] |
Extract container name
| string | $path |
Definition at line 114 of file Stream.php.

| _getFileName | ( | $ | path | ) | [protected] |
Extract file name
| string | $path |
Definition at line 130 of file Stream.php.

| _getStorageClient | ( | $ | path = '' | ) | [protected] |
Retrieve storage client for this stream type
| string | $path |
Definition at line 91 of file Stream.php.


| dir_closedir | ( | ) |
| dir_opendir | ( | $ | path, |
| $ | options | ||
| ) |
Attempt to open a directory
| string | $path | |
| integer | $options |
Definition at line 521 of file Stream.php.

| dir_readdir | ( | ) |
| dir_rewinddir | ( | ) |
| mkdir | ( | $ | path, |
| $ | mode, | ||
| $ | options | ||
| ) |
Create a new directory
| string | $path | |
| integer | $mode | |
| integer | $options |
Definition at line 475 of file Stream.php.

| rename | ( | $ | path_from, |
| $ | path_to | ||
| ) |
Attempt to rename the item
| string | $path_from | |
| string | $path_to |
Definition at line 403 of file Stream.php.

| rmdir | ( | $ | path, |
| $ | options | ||
| ) |
Remove a directory
| string | $path | |
| integer | $options |
Definition at line 498 of file Stream.php.

| stream_close | ( | ) |
Close the stream
Definition at line 193 of file Stream.php.

| stream_eof | ( | ) |
| stream_flush | ( | ) |
Flush current cached stream data to storage
Definition at line 305 of file Stream.php.

| stream_open | ( | $ | path, |
| $ | mode, | ||
| $ | options, | ||
| $ | opened_path | ||
| ) |
Open the stream
| string | $path | |
| string | $mode | |
| integer | $options | |
| string | $opened_path |
Definition at line 153 of file Stream.php.

| stream_read | ( | $ | count | ) |
Read from the stream
| integer | $count |
Definition at line 234 of file Stream.php.
| stream_seek | ( | $ | offset, |
| $ | whence | ||
| ) |
Update the read/write position of the stream
| integer | $offset | |
| integer | $whence |
Definition at line 291 of file Stream.php.
| stream_stat | ( | ) |
Returns data array of stream variables
Definition at line 344 of file Stream.php.

| stream_tell | ( | ) |
What is the current read/write position of the stream?
Definition at line 279 of file Stream.php.
| stream_write | ( | $ | data | ) |
Write to the stream
| string | $data |
Definition at line 249 of file Stream.php.
| unlink | ( | $ | path | ) |
Attempt to delete the item
| string | $path |
Definition at line 388 of file Stream.php.


| url_stat | ( | $ | path, |
| $ | flags | ||
| ) |
Return array of URL variables
| string | $path | |
| integer | $flags |
Definition at line 433 of file Stream.php.
