Hazaar\File
Manager
Summary
MethodsPropertiesConstants
No constants
Properties
$backend
$backend
$backend_name
$backend_name
Static
$default_backend
$default_backend
Static
$default_backend_options
$default_backend_options
Static
$default_config
$default_config
$name
$name
$options
$options
Methods
__construct()
__construct($backend = null, $backend_options = Array ( ) , $name = null)
authorise()
authorise($redirect_uri = null)
authorised()
authorised()
authorize()
authorize($options = Array ( ) ) : bool
Alias to authorise() which is the CORRECT spelling.
authorized()
authorized()
buildAuthURL()
buildAuthURL($callback_url)
Static
configure()
configure($backend, $options)
copy()
copy($src, $dst, $srcBackend = null, $recursive = false, $progressCallback = null)
deepCopy()
deepCopy($src, $dst, $srcBackend, $progressCallback = null)
dir()
dir($path = '/') : Dir
Return a directory object for a pgiven path.
exists()
exists($path)
find()
find($search = null, $path = '/', $case_insensitive = false)
fixPath()
fixPath($path, $file = null)
fsck()
fsck()
get()
get($path)
getBackend()
getBackend()
getBackendName()
getBackendName()
getOption()
getOption($name)
get_meta()
get_meta($path, $key = null)
link()
link($path)
mkdir()
mkdir($path)
move()
move($src, $dst, $srcManager = null)
read()
read($file, $offset = null, $maxlen = null)
refresh()
refresh($reset = false)
reset()
reset()
rmdir()
rmdir($path, $recurse = false)
search()
search($query)
Static
select()
select($name)
Loads a Manager class by name as configured in media.json config
setOption()
setOption($name, $value)
set_meta()
set_meta($path, $values)
share()
share($path)
store()
store($source, $target)
thumbnail()
thumbnail($path, $width = 100, $height = 100, $format = 'jpeg')
unlink()
unlink($path)
upload()
upload($path, $file, $overwrite = false)
uri()
uri($path = null)
write()
write($file, $data, $content_type, $overwrite = false)