public refresh(bool $reset = false): bool
Parameter | Type | Description |
---|
$reset | bool | |
public scandir(string $path, ?string $regex_filter, int $sort = 'SCANDIR_SORT_ASCENDING', bool $show_hidden = false, ?string $relative_path, bool $): void
Parameter | Type | Description |
---|
$path | string | |
$regex_filter | string | |
$sort | int | |
$show_hidden | bool | |
$relative_path | string | |
$ | bool | |
public touch(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public exists(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public realpath(string $path): ?string
Parameter | Type | Description |
---|
$path | string | |
public isReadable(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public isWritable(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public isDir(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public isLink(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public isFile(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public filetype(string $path): string
Parameter | Type | Description |
---|
$path | string | |
public filectime(string $path): int
Parameter | Type | Description |
---|
$path | string | |
public filemtime(string $path): int
Parameter | Type | Description |
---|
$path | string | |
public fileatime(string $path): int
Parameter | Type | Description |
---|
$path | string | |
public filesize(string $path): int
Parameter | Type | Description |
---|
$path | string | |
public fileperms(string $path): int
Parameter | Type | Description |
---|
$path | string | |
public chmod(string $path, int $mode): bool
Parameter | Type | Description |
---|
$path | string | |
$mode | int | |
public chown(string $path, string $user): bool
Parameter | Type | Description |
---|
$path | string | |
$user | string | |
public chgrp(string $path, string $group): bool
Parameter | Type | Description |
---|
$path | string | |
$group | string | |
public unlink(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public mimeContentType(string $path): ?string
Parameter | Type | Description |
---|
$path | string | |
public md5Checksum(string $path): ?string
Parameter | Type | Description |
---|
$path | string | |
public mkdir(string $path): bool
Parameter | Type | Description |
---|
$path | string | |
public rmdir(string $path, bool $recurse = false): bool
Parameter | Type | Description |
---|
$path | string | |
$recurse | bool | |
public copy(string $src, string $dst, bool $recursive = false): bool
Parameter | Type | Description |
---|
$src | string | |
$dst | string | |
$recursive | bool | |
public move(string $src, string $dst): bool
Parameter | Type | Description |
---|
$src | string | |
$dst | string | |
public link(string $src, string $dst): bool
Parameter | Type | Description |
---|
$src | string | |
$dst | string | |
public read(string $path, int $offset = -1, ?int $maxlen): string
Parameter | Type | Description |
---|
$path | string | |
$offset | int | |
$maxlen | int | |
public write(string $path, string $bytes, ?string $content_type, bool $overwrite = false): ?int
Parameter | Type | Description |
---|
$path | string | |
$bytes | string | |
$content_type | string | |
$overwrite | bool | |
public find(?string $search, string $path = '/', bool $case_insensitive = false, false $): void
Parameter | Type | Description |
---|
$search | string | |
$path | string | |
$case_insensitive | bool | |
$ | false | |
public fsck(bool $skip_root_reload = false): bool
Parameter | Type | Description |
---|
$skip_root_reload | bool | |
Upload a file that was uploaded with a POST.
public upload(string $path, array $file, bool $overwrite = false): bool
Parameter | Type | Description |
---|
$path | string | |
$file | array | |
$overwrite | bool | |
public setMeta(string $path, array $values): bool
Parameter | Type | Description |
---|
$path | string | |
$values | array | |
public getMeta(string $path, ?string $key, string $): void
Parameter | Type | Description |
---|
$path | string | |
$key | string | |
$ | string | |
public previewURL(string $path, array $params = []): string
Parameter | Type | Description |
---|
$path | string | |
$params | array | |
public directURL(string $path): string
Parameter | Type | Description |
---|
$path | string | |
public thumbnailURL(string $path, int $width = 100, int $height = 100, string $format = 'jpeg', array $params = []): string
Parameter | Type | Description |
---|
$path | string | |
$width | int | |
$height | int | |
$format | string | |
$params | array | |
public authorise(?string $redirect_uri): bool
Parameter | Type | Description |
---|
$redirect_uri | string | |
public authorised(): bool
public buildAuthURL(?string $callback_url): ?string
Parameter | Type | Description |
---|
$callback_url | string | |
Direct stream read/write methods.
public openStream(string $path, string $mode): mixed
Parameter | Type | Description |
---|
$path | string | |
$mode | string | |
public writeStream(mixed $stream, string $bytes, ?int $length): int
Parameter | Type | Description |
---|
$stream | mixed | |
$bytes | string | |
$length | int | |
public readStream(mixed $stream, int $length): string
Parameter | Type | Description |
---|
$stream | mixed | |
$length | int | |
public seekStream(mixed $stream, int $offset, int $whence = 'SEEK_SET'): int
Parameter | Type | Description |
---|
$stream | mixed | |
$offset | int | |
$whence | int | |
public tellStream(mixed $stream): int
Parameter | Type | Description |
---|
$stream | mixed | |
public eofStream(mixed $stream): bool
Parameter | Type | Description |
---|
$stream | mixed | |
public truncateStream(mixed $stream, int $size): bool
Parameter | Type | Description |
---|
$stream | mixed | |
$size | int | |
public lockStream(mixed $stream, int $operation, ?int $wouldblock): bool
Parameter | Type | Description |
---|
$stream | mixed | |
$operation | int | |
$wouldblock | int | |
public flushStream(mixed $stream): bool
Parameter | Type | Description |
---|
$stream | mixed | |
public getsStream(mixed $stream, ?int $length): string
Parameter | Type | Description |
---|
$stream | mixed | |
$length | int | |
public closeStream(mixed $stream): bool
Parameter | Type | Description |
---|
$stream | mixed | |
Generated by Hazaar API Doc Generator