\Hazaar\File\Backend
MongoDB
Summary
Methods Properties Constants
$db
No constants
Properties
$collection
$collection
$db
$db
$gridFS
$gridFS
$options
$options
$rootObject
$rootObject
Methods
__construct()
__construct($options = Array ( ) )

Parameters

$options

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

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

Parameters

$path

No description

$key

No description

info()
info($path)

Parameters

$path

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

link()
link($src, $dst)

Parameters

$src

No description

$dst

No description

loadObjects()
loadObjects($parent = null)

Parameters

$parent

No description

loadRootObject()
loadRootObject()
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 = true)

Parameters

$reset

No description

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

Parameters

$path

No description

$recurse

No description

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

Parameters

$path

No description

$regex_filter

No description

$show_hidden

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 = false)

Parameters

$path

No description

$file

No description

$overwrite

No description

write()
write($path, $bytes, $content_type, $overwrite = false)

Parameters

$path

No description

$bytes

No description

$content_type

No description

$overwrite

No description