\Hazaar\File\Backend
GoogleDrive
Summary
Methods Properties Constants
No constants
Properties
$cache
$cache
$cursor
$cursor
$meta
$meta
$meta_items
$meta_items
$options
$options
$scope
$scope
Methods
__construct()
__construct($options)

Parameters

$options

No description

__destruct()
__destruct()
authorise()
authorise($redirect_uri = null)

Parameters

$redirect_uri

No description

authorised()
authorised()
buildAuthURL()
buildAuthURL($redirect_uri = null)

Parameters

$redirect_uri

No description

chgrp()
chgrp($path, $group)

Parameters

$path

No description

$group

No description

chmod()
chmod($path, $mode)

Parameters

$path

No description

$mode

No description

chown()
chown($path, $user)

Parameters

$path

No description

$user

No description

copy()
copy($src, $dst, $recursive = false)

Parameters

$src

No description

$dst

No description

$recursive

No description

direct_uri()
direct_uri($path)

Parameters

$path

No description

exists()
exists($path)

Parameters

$path

No description

filemtime()
filemtime($path)

Parameters

$path

No description

fileperms()
fileperms($path)

Parameters

$path

No description

filesize()
filesize($path)

Parameters

$path

No description

filetype()
filetype($path)

Parameters

$path

No description

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

Parameters

$path

No description

$key

No description

is_dir()
is_dir($path)

Parameters

$path

No description

is_file()
is_file($path)

Parameters

$path

No description

is_link()
is_link($path)

Parameters

$path

No description

is_readable()
is_readable($path)

Parameters

$path

No description

is_writable()
is_writable($path)

Parameters

$path

No description

itemHasParent()
itemHasParent($item, $parentId)

Parameters

$item

No description

$parentId

No description

link()
link($src, $dst)

Parameters

$src

No description

$dst

No description

md5Checksum()
md5Checksum($path)

Parameters

$path

No description

mime_content_type()
mime_content_type($path)

Parameters

$path

No description

mkdir()
mkdir($path)

Parameters

$path

No description

move()
move($src, $dst)

Parameters

$src

No description

$dst

No description

preview_uri()
preview_uri($path)

Parameters

$path

No description

read()
read($path)

Parameters

$path

No description

realpath()
realpath($path)

Parameters

$path

No description

refresh()
refresh($reset = false)

Parameters

$reset

No description

reload()
reload()
reset()
reset()
resolveItem()
resolveItem($item)

Parameters

$item

No description

resolvePath()
resolvePath($path)

Parameters

$path

No description

rmdir()
rmdir($path)

Parameters

$path

No description

scandir()
scandir($path, $regex_filter = null, $show_hidden = false)

Parameters

$path

No description

$regex_filter

No description

$show_hidden

No description

sendRequest()
sendRequest($request, $is_meta = true)

Parameters

$request\Hazaar\Http\Request

No description

$is_meta

No description

set_meta()
set_meta($path, $values)

Parameters

$path

No description

$values

No description

thumbnail()
thumbnail($path, $params = Array ( ) )

Parameters

$path

No description

$params

No description

unlink()
unlink($path)

Parameters

$path

No description

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

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