Public Member Functions | |
__construct ($dbaccess= '', $id= '', $res= '', $dbid=0) | |
Complete () | |
PreInsert () | |
getNewVaultId () | |
ListFiles (&$list) | |
seems_utf8 ($Str) | |
Store ($infile, $public_access, &$idf, $fsname="", $te_lname="", $te_id_file=0) | |
GetEngineObject ($te_name, &$ngf) | |
show ($id_file, &$f_infos, $teng_lname="") | |
updateAccessDate ($id_file) | |
getPath () | |
Destroy ($id) | |
save ($infile, $public_access, $idf) | |
resetTEFiles () | |
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 | |
$dbtable = "vaultdiskstorage" | |
$sqlcreate | |
$id_file | |
$id_fs | |
$id_dir | |
$name | |
$id_tmp | |
$size | |
$public_access | |
$mime_t | |
$mime_s | |
$cdate | |
$mdate | |
$adate | |
$teng_state | |
$teng_lname | |
$teng_id_file | |
$teng_comment | |
$storage = 1 | |
$fs | |
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 Attributes | |
$logger | |
Additional Inherited Members | |
Static Public Attributes inherited from DbObj | |
static | $savepoint = array() |
static | $lockpoint = array() |
static | $sqlStrict = null |
Protected Member Functions inherited from DbObj | |
tryCreate () | |
Definition at line 21 of file Class.VaultDiskStorage.php.
__construct | ( | $dbaccess = '' , |
|
$id = '' , |
|||
$res = '' , |
|||
$dbid = 0 |
|||
) |
Definition at line 101 of file Class.VaultDiskStorage.php.
Complete | ( | ) |
set fs object
Definition at line 110 of file Class.VaultDiskStorage.php.
Destroy | ( | $id | ) |
Definition at line 383 of file Class.VaultDiskStorage.php.
GetEngineObject | ( | $te_name, | |
& | $ngf | ||
) |
Get the VaultDiskStorage transforming object corresponding to the current object
string | $te_name | transformation engine name |
VaultDiskStorage | &$ngf | returned object |
\Dcp\Db\Exception |
Definition at line 282 of file Class.VaultDiskStorage.php.
getNewVaultId | ( | ) |
Get a new cryptographically random id for vault identifier
Throws an exception:
\Dcp\Exception |
Definition at line 139 of file Class.VaultDiskStorage.php.
getPath | ( | ) |
return the complete path in file system
Definition at line 377 of file Class.VaultDiskStorage.php.
ListFiles | ( | & | $list | ) |
Definition at line 202 of file Class.VaultDiskStorage.php.
PreInsert | ( | ) |
Definition at line 123 of file Class.VaultDiskStorage.php.
resetTEFiles | ( | ) |
reset all files product by transform engine
Definition at line 433 of file Class.VaultDiskStorage.php.
save | ( | $infile, | |
$public_access, | |||
$idf | |||
) |
Definition at line 396 of file Class.VaultDiskStorage.php.
seems_utf8 | ( | $Str | ) |
Definition at line 211 of file Class.VaultDiskStorage.php.
show | ( | $id_file, | |
& | $f_infos, | ||
$teng_lname = "" |
|||
) |
int | $id_file | vault file identifier |
VaultFileInfo | $f_infos | |
string | $teng_lname | engine name |
Definition at line 314 of file Class.VaultDiskStorage.php.
Store | ( | $infile, | |
$public_access, | |||
& | $idf, | ||
$fsname = "" , |
|||
$te_lname = "" , |
|||
$te_id_file = 0 |
|||
) |
Add new file in VAULT
string | $infile | complete server path of file to store |
bool | $public_access | set true if can be access without any permission |
int | &$idf | new file identifier |
string | $fsname | name of the VAULT to store (can be empty=>store in one of available VAULT) |
string | $te_lname | transformation engine name |
int | $te_id_file | transformation engine file result identifier |
Definition at line 225 of file Class.VaultDiskStorage.php.
updateAccessDate | ( | $id_file | ) |
Definition at line 359 of file Class.VaultDiskStorage.php.
$adate |
Definition at line 86 of file Class.VaultDiskStorage.php.
$cdate |
Definition at line 84 of file Class.VaultDiskStorage.php.
$dbtable = "vaultdiskstorage" |
Definition at line 46 of file Class.VaultDiskStorage.php.
$fields |
Definition at line 23 of file Class.VaultDiskStorage.php.
$fs |
Definition at line 99 of file Class.VaultDiskStorage.php.
$id_dir |
Definition at line 73 of file Class.VaultDiskStorage.php.
$id_fields |
Definition at line 43 of file Class.VaultDiskStorage.php.
$id_file |
Definition at line 71 of file Class.VaultDiskStorage.php.
$id_fs |
Definition at line 72 of file Class.VaultDiskStorage.php.
$id_tmp |
Definition at line 79 of file Class.VaultDiskStorage.php.
|
protected |
Definition at line 94 of file Class.VaultDiskStorage.php.
$mdate |
Definition at line 85 of file Class.VaultDiskStorage.php.
$mime_s |
Definition at line 83 of file Class.VaultDiskStorage.php.
$mime_t |
Definition at line 82 of file Class.VaultDiskStorage.php.
$name |
Definition at line 74 of file Class.VaultDiskStorage.php.
$public_access |
Definition at line 81 of file Class.VaultDiskStorage.php.
$size |
Definition at line 80 of file Class.VaultDiskStorage.php.
$sqlcreate |
Definition at line 47 of file Class.VaultDiskStorage.php.
$storage = 1 |
Definition at line 95 of file Class.VaultDiskStorage.php.
$teng_comment |
Definition at line 90 of file Class.VaultDiskStorage.php.
$teng_id_file |
Definition at line 89 of file Class.VaultDiskStorage.php.
$teng_lname |
Definition at line 88 of file Class.VaultDiskStorage.php.
$teng_state |
Definition at line 87 of file Class.VaultDiskStorage.php.