|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Stream factory which enables the user to create streams without the knowledge of the concrete class. More...
Collaboration diagram for ILIAS\Filesystem\Stream\Streams:Static Public Member Functions | |
| static | ofString (string $string) |
| Creates a new stream with an initial value. More... | |
| static | ofResource ($resource) |
| Wraps an already created resource with the stream abstraction. More... | |
| static | ofReattachableResource ($resource) |
| static | ofFileInsideZIP (string $path_to_zip, string $path_inside_zip) |
| static | ofPsr7Stream (StreamInterface $stream) |
| Create a FileStream from a Psr7 compliant stream. More... | |
Stream factory which enables the user to create streams without the knowledge of the concrete class.
Definition at line 31 of file Streams.php.
|
static |
Definition at line 84 of file Streams.php.
Referenced by ILIAS\Exercise\IRSS\CollectionWrapper\addEntryOfZipResourceToCollection(), and ILIAS\FileDelivery\Delivery\StreamDelivery\deliverFromToken().
Here is the caller graph for this function:
|
static |
Create a FileStream from a Psr7 compliant stream.
Please not that the stream must be detached from the psr7 stream in order to create the filesystem stream.
| StreamInterface | $stream | The stream which should be parsed into a FileStream. |
Definition at line 113 of file Streams.php.
References ILIAS\Filesystem\Stream\Stream\detach().
Referenced by ILIAS\FileUpload\FileUploadImpl\moveFilesTo(), ILIAS\FileUpload\FileUploadImpl\moveOneFileTo(), and ILIAS\FileUpload\FileUploadImpl\process().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 74 of file Streams.php.
Referenced by ILIAS\ResourceStorage\Resource\ResourceBuilder\extractStream().
Here is the caller graph for this function:
|
static |
Wraps an already created resource with the stream abstraction.
The stream abstraction only supports streams which are opened with fopen.
| resource | $resource | The resource which should be wrapped. |
Definition at line 64 of file Streams.php.
Referenced by ILIAS\FileDelivery\Delivery\LegacyDelivery\deliver(), ILIAS\FileDelivery\Delivery\StreamDelivery\deliverFromToken(), ilDclFileRecordFieldModel\parseValue(), ILIAS\Filesystem\Provider\FlySystem\FlySystemFileStreamAccess\readStream(), ILIAS\ResourceStorage\Consumer\DownloadMultipleConsumer\run(), and ILIAS\Repository\Resources\ZipAdapter\unzipFile().
Here is the caller graph for this function:
|
static |
Creates a new stream with an initial value.
Please note that the whole stream is stored within memory.
| string | $string | The string which should be written as initial value. |
Definition at line 41 of file Streams.php.
Referenced by ilPropertyFormGUI\checkInput(), ILIAS\FileDelivery\Delivery\ResponseBuilder\ResponseBuilder\PHPResponseBuilder\deliverPartial(), ILIAS\Repository\HTTP\HTTPUtil\deliverString(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand(), ILIAS\LegalDocuments\Administration\exitWithJsonResponse(), ilECSSettingsGUI\exportImported(), ilECSSettingsGUI\exportReleased(), ILIAS\ResourceStorage\AbstractBaseTest\getDummyStream(), ilChatroomAuthInputGUI\getRandomValues(), ILIAS\Services\WOPI\Handler\RequestHandler\handleRequest(), ILIAS\GlobalScreen\Client\Notifications\handleRerender(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\CropSquare\maybeRotate(), ilDataCollectionGlobalTemplate\printToStdout(), ILIAS\ResourceStorage\Flavours\SVGDummyMachine\processStream(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\ExtractPages\processStream(), ILIAS\ResourceStorage\Flavour\Machine\NullMachine\processStream(), ILIAS\ResourceStorage\Flavour\FlavourBuilder\runMachine(), ILIAS\COPage\Editor\Server\Response\send(), ILIAS\Repository\send(), ILIAS\Export\PrintProcessGUI\send(), ILIAS\Repository\HTTP\HTTPUtil\sendString(), ILIAS\Saml\Module\sendXMLString(), ILIAS\ResourceStorage\Flavours\FlavourMachineTest\testMachineResult(), ILIAS\FileUpload\Processor\SVGPreProcessorTest\testMaliciousSVG(), ILIAS\ResourceStorage\Flavours\FlavourTest\testNewFlavour(), ILIAS\FileUpload\Processor\BlacklistFileHeaderPreProcessorTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\Processor\FilenameOverridePreProcessorTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\Processor\WhitelistExtensionPreProcessorTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\Processor\WhitelistFileHeaderPreProcessorTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\Processor\BlacklistExtensionPreProcessorTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\FileUploadImplTest\testProcessWhichShouldSucceed(), ILIAS\FileUpload\Processor\BlacklistExtensionPreProcessorTest\testProcessWithBlacklistedEmptyExtensionWhichShouldGetRejected(), ILIAS\FileUpload\Processor\BlacklistExtensionPreProcessorTest\testProcessWithBlacklistedExtensionWhichShouldGetRejected(), ILIAS\FileUpload\FileUploadImplTest\testProcessWithFailedUploadWhichShouldGetRejected(), ILIAS\FileUpload\Processor\WhitelistFileHeaderPreProcessorTest\testProcessWithHeaderMismatchWhichShouldGetRejected(), ILIAS\FileUpload\Processor\BlacklistFileHeaderPreProcessorTest\testProcessWithHeaderMismatchWhichShouldGetRejected(), ILIAS\FileUpload\Processor\WhitelistExtensionPreProcessorTest\testProcessWithoutExtensionWhichShouldSucceed(), ILIAS\FileUpload\Processor\WhitelistExtensionPreProcessorTest\testProcessWithoutWhitelistedExtensionWhichShouldGetRejected(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testPutStreamWhichShouldSucceed(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testPutStreamWithDetachedStreamWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testPutStreamWithGeneralFailureWhichShouldFail(), ILIAS\FileUpload\Processor\SVGPreProcessorTest\testSaneSVG(), ILIAS\FileUpload\Processor\SVGPreProcessorTest\testSomeComplexSaneSVG(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testUpdateStreamWhichShouldSucceed(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testUpdateStreamWithDetachedStreamWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testUpdateStreamWithGeneralFailureWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testUpdateStreamWithMissingFileWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testWriteStreamWhichShouldSucceed(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testWriteStreamWithDetachedStreamWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testWriteStreamWithExistingFileWhichShouldFail(), Filesystem\Provider\FlySystem\FlySystemFileStreamAccessTest\testWriteStreamWithFailingAdapterWhichShouldFail(), and ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\to().
Here is the caller graph for this function: