private array $allowPreview
public __construct(?string $url, ?array $allowPreview): void
Parameter | Type | Description |
---|
$url | string | |
$allowPreview | array | List of mime types that are allowed to be previewed |
public setProgressCallback(\Closure $callback): void
Parameter | Type | Description |
---|
$callback | \Closure | |
public addSource(string $id, string $source, ?string $name): bool
Parameter | Type | Description |
---|
$id | string | |
$source | string | |
$name | string | |
public authorised(): string
public authorise(string $sourceName, ?string $redirect_uri): bool
Parameter | Type | Description |
---|
$sourceName | string | |
$redirect_uri | string | |
public source(string $target): Manager
Parameter | Type | Description |
---|
$target | string | |
public path(string $target): string
Parameter | Type | Description |
---|
$target | string | |
public info(Manager $source, File $file): void
Parameter | Type | Description |
---|
$source | Manager | |
$file | File | |
public tree(?string $target, ?int $depth, false $): void
Parameter | Type | Description |
---|
$target | string | |
$depth | int | |
$ | false | |
public open(string $target, bool $tree = false, int $depth = 1, ?string $filter, bool $with_meta = false, false $): void
Parameter | Type | Description |
---|
$target | string | |
$tree | bool | |
$depth | int | |
$filter | string | |
$with_meta | bool | |
$ | false | |
public get(string $target): FileResponse
Parameter | Type | Description |
---|
$target | string | |
public getFile(string $source, string $path = '/'): File
Parameter | Type | Description |
---|
$source | string | |
$path | string | |
public getFileByPath(string $path): File
Parameter | Type | Description |
---|
$path | string | |
public mkdir(string $parent, string $name): void
Parameter | Type | Description |
---|
$parent | string | |
$name | string | |
public rmdir(string $target, bool $recurse = false): void
Parameter | Type | Description |
---|
$target | string | |
$recurse | bool | |
public unlink(string $target): void
Parameter | Type | Description |
---|
$target | string | |
public copy(string $from, string $to): void
Parameter | Type | Description |
---|
$from | string | |
$to | string | |
public move(string $from, string $to, false $): void
Parameter | Type | Description |
---|
$from | string | |
$to | string | |
$ | false | |
public rename(string $target, string $name, bool $with_meta = false): void
Parameter | Type | Description |
---|
$target | string | |
$name | string | |
$with_meta | bool | |
public upload(string $parent, array $file, ?string $relativePath, false $): void
Parameter | Type | Description |
---|
$parent | string | |
$file | array | |
$relativePath | string | |
$ | false | |
public getMeta(string $target, ?string $key): void
Parameter | Type | Description |
---|
$target | string | |
$key | string | |
public setMeta(string $target, array $values): void
Parameter | Type | Description |
---|
$target | string | |
$values | array | |
public snatch(string $url, string $target): void
Parameter | Type | Description |
---|
$url | string | |
$target | string | |
public search(string $target, string $query): void
Parameter | Type | Description |
---|
$target | string | |
$query | string | |
private target(string $source, ?string $path): string
Parameter | Type | Description |
---|
$source | string | |
$path | string | |
Generated by Hazaar API Doc Generator