Public Member Functions | |
__construct ($dbaccess, $id_dir= '', $def= '') | |
nextdir ($d, $max=VAULT_MAXDIRBYDIR) | |
complete () | |
SetFreeDir ($fs) | |
closeDir () | |
PreInsert () | |
Exists ($path, $id_fs) | |
DelEntry () | |
Public Member Functions inherited from DbObj | |
__construct ($dbaccess= '', $id= '', $res= '', $dbid=0) | |
Select ($id) | |
getValues () | |
affectColumn ($fields, $reset=true) | |
affect ($array, $more=false, $reset=true) | |
isAffected () | |
Complete () | |
preInsert () | |
postInsert () | |
preUpdate () | |
postUpdate () | |
preDelete () | |
postDelete () | |
preSelect ($id) | |
postSelect ($id) | |
Add ($nopost=false, $nopre=false) | |
modify ($nopost=false, $sfields="", $nopre=false) | |
delete ($nopost=false) | |
Adds (&$tcopy, $nopost=false) | |
lw ($prop) | |
CloseConnect () | |
Create ($nopost=false) | |
postInit () | |
init_dbid () | |
exec_query ($sql, $lvl=0, $prepare=false) | |
numrows () | |
fetch_array ($c, $type=PGSQL_ASSOC) | |
update () | |
setError ($moreerr= '') | |
autoUpdate () | |
savePoint ($point) | |
lockPoint ($exclusiveLock, $exclusiveLockPrefix= '') | |
setMasterLock ($useLock) | |
rollbackPoint ($point) | |
commitPoint ($point) | |
Data Fields | |
$fields | |
$id_fields | |
$id_dir | |
$id_fs | |
$l_path | |
$dbtable_tmpl = "vaultdiskdir%s" | |
$order_by = "" | |
$seq_tmpl = "seq_id_vaultdiskdir%s" | |
$sqlcreate_tmpl | |
create sequence | seq_id_vaultdiskdir:specific: start 10 |
CREATE INDEX | vault_isfull:specific: on vaultdiskdir:specific: (isfull) |
SQL | |
$specific | |
$seq | |
$isfull | |
$size | |
Data Fields inherited from DbObj | |
$dbid = - 1 | |
$dbaccess = '' | |
$fields | |
$dbtable = '' | |
$id_fields | |
$criterias = array() | |
$sup_fields = array() | |
$sup_where = array() | |
$sup_tables = array() | |
$fulltextfields = array() | |
$order_by = "" | |
$isset = false | |
$msg_err = '' | |
$err_code = '' | |
$res = '' | |
$debug = false | |
$sqlcreate | |
$sqlinit | |
$log | |
Protected Member Functions | |
createDirectory ($fs) | |
Protected Member Functions inherited from DbObj | |
tryCreate () | |
Protected Attributes | |
$dirsToClose = [] | |
Additional Inherited Members | |
Static Public Attributes inherited from DbObj | |
static | $savepoint = array() |
static | $lockpoint = array() |
static | $sqlStrict = null |
Definition at line 21 of file Class.VaultDiskDir.php.
__construct | ( | $dbaccess, | |
$id_dir = '' , |
|||
$def = '' |
|||
) |
Definition at line 60 of file Class.VaultDiskDir.php.
closeDir | ( | ) |
complete | ( | ) |
Definition at line 108 of file Class.VaultDiskDir.php.
|
protected |
DelEntry | ( | ) |
Definition at line 235 of file Class.VaultDiskDir.php.
Exists | ( | $path, | |
$id_fs | |||
) |
Definition at line 223 of file Class.VaultDiskDir.php.
nextdir | ( | $d, | |
$max = VAULT_MAXDIRBYDIR |
|||
) |
return name of next directory 1/1 => 1/2 1/10 => 2/1 1/2 = 1/3
string | $d | path to file |
int | $max |
Definition at line 81 of file Class.VaultDiskDir.php.
PreInsert | ( | ) |
SetFreeDir | ( | $fs | ) |
$dbtable_tmpl = "vaultdiskdir%s" |
Definition at line 38 of file Class.VaultDiskDir.php.
|
protected |
Definition at line 58 of file Class.VaultDiskDir.php.
$fields |
Definition at line 24 of file Class.VaultDiskDir.php.
$id_dir |
Definition at line 34 of file Class.VaultDiskDir.php.
$id_fields |
Definition at line 31 of file Class.VaultDiskDir.php.
$id_fs |
Definition at line 35 of file Class.VaultDiskDir.php.
$isfull |
Definition at line 56 of file Class.VaultDiskDir.php.
$l_path |
Definition at line 36 of file Class.VaultDiskDir.php.
$order_by = "" |
Definition at line 39 of file Class.VaultDiskDir.php.
$seq |
Definition at line 55 of file Class.VaultDiskDir.php.
$seq_tmpl = "seq_id_vaultdiskdir%s" |
Definition at line 40 of file Class.VaultDiskDir.php.
$size |
Definition at line 57 of file Class.VaultDiskDir.php.
$specific |
Definition at line 54 of file Class.VaultDiskDir.php.
$sqlcreate_tmpl |
Definition at line 41 of file Class.VaultDiskDir.php.
create sequence seq_id_vaultdiskdir |
Definition at line 50 of file Class.VaultDiskDir.php.
SQL |
Definition at line 52 of file Class.VaultDiskDir.php.
CREATE INDEX vault_isfull |
Definition at line 51 of file Class.VaultDiskDir.php.