Свойство | Type | Description | |
---|---|---|---|
$context | resource |
Свойство | Type | Description | |
---|---|---|---|
$registeredStreamWrappers | array | ||
$streamWrapper | Neos\Flow\ResourceManagement\Streams\StreamWrapperInterface |
Méthode | Description | |
---|---|---|
dir_closedir ( ) : boolean | Close directory handle. | |
dir_opendir ( string $path, integer $options ) : boolean | Open directory handle. | |
dir_readdir ( ) : string | Read entry from directory handle. | |
dir_rewinddir ( ) : boolean | Rewind directory handle. | |
getRegisteredStreamWrappers ( ) : array | Returns the stream wrappers registered with this class. | |
getStreamWrapperImplementationClassNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array | Returns all class names implementing the StreamWrapperInterface. | |
initializeStreamWrapper ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | Initialize StreamWrappers with this adapter | |
mkdir ( string $path, integer $mode, integer $options ) : boolean | Create a directory. | |
registerStreamWrapper ( string $scheme, string $objectName ) : void | Register a stream wrapper. Later registrations for a scheme will override earlier ones without warning. | |
rename ( string $path_from, string $path_to ) : boolean | Renames a file or directory. | |
rmdir ( string $path, integer $options ) : boolean | Removes a directory. | |
stream_cast ( integer $cast_as ) : resource | Retrieve the underlaying resource. | |
stream_close ( ) : void | Close an resource. | |
stream_eof ( ) : boolean | Tests for end-of-file on a file pointer. | |
stream_flush ( ) : boolean | Flushes the output. | |
stream_lock ( integer $operation ) : boolean | Advisory file locking. | |
stream_open ( string $path, string $mode, integer $options, &$opened_path ) : boolean | Opens file or URL. | |
stream_read ( integer $count ) : string | Read from stream. | |
stream_seek ( integer $offset, integer $whence = SEEK_SET ) : boolean | Seeks to specific location in a stream. | |
stream_set_option ( integer $option, integer $arg1, integer $arg2 ) : boolean | Change stream options. | |
stream_stat ( ) : array | Retrieve information about a file resource. | |
stream_tell ( ) : integer | Retrieve the current position of a stream. | |
stream_write ( string $data ) : integer | Write to stream. | |
unlink ( string $path ) : boolean | Delete a file. | |
url_stat ( string $path, integer $flags ) : array | Retrieve information about a file. |
Méthode | Description | |
---|---|---|
createStreamWrapper ( string $path ) : void | Create the internal stream wrapper if needed. |
protected createStreamWrapper ( string $path ) : void | ||
$path | string | The path to fetch the scheme from. |
Résultat | void |
public dir_closedir ( ) : boolean | ||
Résultat | boolean | TRUE on success or FALSE on failure. |
public dir_readdir ( ) : string | ||
Résultat | string | Should return string representing the next filename, or FALSE if there is no next file. |
public dir_rewinddir ( ) : boolean | ||
Résultat | boolean | TRUE on success or FALSE on failure. |
public static getRegisteredStreamWrappers ( ) : array | ||
Résultat | array |
public static getStreamWrapperImplementationClassNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
Résultat | array | Array of stream wrapper implementations |
public static initializeStreamWrapper ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
Résultat | void |
public stream_cast ( integer $cast_as ) : resource | ||
$cast_as | integer | Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses. |
Résultat | resource | Should return the underlying stream resource used by the wrapper, or FALSE. |
public stream_close ( ) : void | ||
Résultat | void |
public stream_eof ( ) : boolean | ||
Résultat | boolean | Should return TRUE if the read/write position is at the end of the stream and if no more data is available to be read, or FALSE otherwise. |
public stream_flush ( ) : boolean | ||
Résultat | boolean | Should return TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
public stream_lock ( integer $operation ) : boolean | ||
$operation | integer | One of the LOCK_* constants |
Résultat | boolean | TRUE on success or FALSE on failure. |
public stream_open ( string $path, string $mode, integer $options, &$opened_path ) : boolean | ||
$path | string | Specifies the URL that was passed to the original function. |
$mode | string | The mode used to open the file, as detailed for fopen(). |
$options | integer | Holds additional flags set by the streams API. |
Résultat | boolean | TRUE on success or FALSE on failure. |
public stream_read ( integer $count ) : string | ||
$count | integer | How many bytes of data from the current position should be returned. |
Résultat | string | If there are less than count bytes available, return as many as are available. If no more data is available, return either FALSE or an empty string. |
public stream_stat ( ) : array | ||
Résultat | array | See http://php.net/stat |
public stream_tell ( ) : integer | ||
Résultat | integer | Should return the current position of the stream. |
public stream_write ( string $data ) : integer | ||
$data | string | Should be stored into the underlying stream. |
Résultat | integer | Should return the number of bytes that were successfully stored, or 0 if none could be stored. |
public url_stat ( string $path, integer $flags ) : array | ||
$path | string | The file path or URL to stat. Note that in the case of a URL, it must be a :// delimited URL. Other URL forms are not supported. |
$flags | integer | Holds additional flags set by the streams API. |
Résultat | array | Should return as many elements as stat() does. Unknown or unavailable values should be set to a rational value (usually 0). |
protected static array $registeredStreamWrappers | ||
Résultat | array |