\Hazaar\File
Manager
Summary
Methods Properties Constants
dir
get
No constants
Properties
$backend
$backend
$backend_name
$backend_name
Static
$default_backend
$default_backend
Static
$default_backend_options
$default_backend_options
$name
$name
$options
$options
Methods
__construct()
__construct($backend = null, $backend_options = Array ( ) , $name = null)

Parameters

$backend

No description

$backend_options

No description

$name

No description

authorise()
authorise($redirect_uri = null)

Parameters

$redirect_uri

No description

authorised()
authorised()
authorize()
authorize($options = Array ( ) ) : bool
Alias to authorise() which is the CORRECT spelling.

Parameters

$optionsarray

No description

Returns

\Hazaar\File\bool
authorized()
authorized()
buildAuthURL()
buildAuthURL($callback_url)

Parameters

$callback_url

No description

Static
configure()
configure($backend, $options)

Parameters

$backend

No description

$options

No description

copy()
copy($src, $dst, $srcBackend = null, $recursive = false, $progressCallback = null)

Parameters

$src

No description

$dst

No description

$srcBackend

No description

$recursive

No description

$progressCallback

No description

deepCopy()
deepCopy($src, $dst, $srcBackend, $progressCallback = null)

Parameters

$src

No description

$dst

No description

$srcBackend

No description

$progressCallback

No description

dir()
dir($path = '/', $sort = 'name')

Parameters

$path

No description

$sort

No description

exists()
exists($path)

Parameters

$path

No description

find()
find($search = null, $path = '/')

Parameters

$search

No description

$path

No description

fixPath()
fixPath($path, $file = null)

Parameters

$path

No description

$file

No description

fsck()
fsck()
get()
get($path)

Parameters

$path

No description

getBackend()
getBackend()
getBackendName()
getBackendName()
getOption()
getOption($name)

Parameters

$name

No description

get_meta()
get_meta($path, $key = null)

Parameters

$path

No description

$key

No description

link()
link($path)

Parameters

$path

No description

mkdir()
mkdir($path)

Parameters

$path

No description

move()
move($src, $dst, $srcManager = null)

Parameters

$src

No description

$dst

No description

$srcManager

No description

read()
read($file, $offset = null, $maxlen = null)

Parameters

$file

No description

$offset

No description

$maxlen

No description

refresh()
refresh($reset = false)

Parameters

$reset

No description

reset()
reset()
rmdir()
rmdir($path, $recurse = false)

Parameters

$path

No description

$recurse

No description

search()
search($query)

Parameters

$query

No description

setOption()
setOption($name, $value)

Parameters

$name

No description

$value

No description

set_meta()
set_meta($path, $values)

Parameters

$path

No description

$values

No description

share()
share($path)

Parameters

$path

No description

store()
store($source, $target)

Parameters

$source

No description

$target

No description

thumbnail()
thumbnail($path, $width = 100, $height = 100, $format = 'jpeg')

Parameters

$path

No description

$width

No description

$height

No description

$format

No description

unlink()
unlink($path)

Parameters

$path

No description

upload()
upload($path, $file, $overwrite = false)

Parameters

$path

No description

$file

No description

$overwrite

No description

write()
write($file, $data, $content_type, $overwrite = false)

Parameters

$file

No description

$data

No description

$content_type

No description

$overwrite

No description