Skip to content

Kirby 5.1.3

Upload::chunkId()

Ensures a clean chunk ID by stripping forbidden characters

Upload::chunkId() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

Upload::chunkId(string $id): string

Parameters

Name Type Default
$idrequired string no default value

Return type

string

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException Too short ID string

Parent class

Kirby\Api\Upload