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) |
| | mkdir ($path, $mode, $options) |
| | rmdir ($path, $options) |
| | dir_opendir ($path, $options) |
| | url_stat ($path, $flags) |
| | dir_readdir () |
| | dir_rewinddir () |
| | dir_closedir () |
Protected Member Functions |
| | _getS3Client ($path) |
| | _getNamePart ($path) |
Detailed Description
Definition at line 37 of file Stream.php.
Member Function Documentation
Extract object name from URL
- Parameters:
-
- Returns:
- string
Definition at line 112 of file Stream.php.
Close a directory
- Returns:
- boolean True
Definition at line 492 of file Stream.php.
Attempt to open a directory
- Parameters:
-
| string | $path | |
| integer | $options | |
- Returns:
- boolean
Definition at line 406 of file Stream.php.
Return the next filename in the directory
- Returns:
- string
Definition at line 467 of file Stream.php.
Reset the directory pointer
- Returns:
- boolean True
Definition at line 481 of file Stream.php.
| mkdir |
( |
$ |
path, |
|
|
$ |
mode, |
|
|
$ |
options |
|
) |
| |
Create a new directory
- Parameters:
-
| string | $path | |
| integer | $mode | |
| integer | $options | |
- Returns:
- boolean
Definition at line 382 of file Stream.php.
| rename |
( |
$ |
path_from, |
|
|
$ |
path_to |
|
) |
| |
Attempt to rename the item
- Parameters:
-
| string | $path_from | |
| string | $path_to | |
- Returns:
- boolean False
Definition at line 368 of file Stream.php.
| rmdir |
( |
$ |
path, |
|
|
$ |
options |
|
) |
| |
Remove a directory
- Parameters:
-
| string | $path | |
| integer | $options | |
- Returns:
- boolean
Definition at line 394 of file Stream.php.
Close the stream
- Returns:
- void
Definition at line 165 of file Stream.php.
End of the stream?
- Returns:
- boolean
Definition at line 235 of file Stream.php.
Flush current cached stream data to storage
- Returns:
- boolean
Definition at line 294 of file Stream.php.
| stream_open |
( |
$ |
path, |
|
|
$ |
mode, |
|
|
$ |
options, |
|
|
$ |
opened_path |
|
) |
| |
Open the stream
- Parameters:
-
| string | $path | |
| string | $mode | |
| integer | $options | |
| string | $opened_path | |
- Returns:
- boolean
Definition at line 130 of file Stream.php.
Read from the stream
- Parameters:
-
- Returns:
- string
Definition at line 181 of file Stream.php.
Update the read/write position of the stream
- Parameters:
-
| integer | $offset | |
| integer | $whence | |
- Returns:
- boolean
Definition at line 261 of file Stream.php.
Returns data array of stream variables
- Returns:
- array
Definition at line 313 of file Stream.php.
What is the current read/write position of the stream
- Returns:
- integer
Definition at line 249 of file Stream.php.
Write to the stream
- Parameters:
-
- Returns:
- integer
Definition at line 218 of file Stream.php.
Attempt to delete the item
- Parameters:
-
- Returns:
- boolean
Definition at line 356 of file Stream.php.
Return array of URL variables
- Parameters:
-
| string | $path | |
| integer | $flags | |
- Returns:
- array
Definition at line 427 of file Stream.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Amazon/S3/Stream.php