Go to the source code of this file.
Namespaces | |
FDL | |
Functions | |
initVaultAccess () | |
getOpenTeUrl ($context=array()) | |
vault_generate ($dbaccess, $engine, $vidin, $vidout, $isimage=false, $docid= '') | |
vault_properties ($idfile, $teng_name="") | |
vault_uniqname ($idfile, $teng_name="") | |
vault_store ($filename, &$vid, $ftitle="") | |
vault_get_content ($idfile) | |
sendTextTransformation ($dbaccess, $docid, $attrid, $index, $vid) | |
convertFile ($infile, $engine, $outfile, &$info) | |
convertFile | ( | $infile, | |
$engine, | |||
$outfile, | |||
& | $info | ||
) |
send request to convert and waiting
string | $infile | path to file to convert |
string | $engine | engine name to use |
string | $outfile | path where to store new file |
array | &$info | various informations for convertion process |
Definition at line 219 of file Lib.Vault.php.
getOpenTeUrl | ( | $context = array() | ) |
get url with open id to use with open authentiication
Definition at line 34 of file Lib.Vault.php.
initVaultAccess | ( | ) |
sendTextTransformation | ( | $dbaccess, | |
$docid, | |||
$attrid, | |||
$index, | |||
$vid | |||
) |
send request to have text conversion of file
Definition at line 180 of file Lib.Vault.php.
vault_generate | ( | $dbaccess, | |
$engine, | |||
$vidin, | |||
$vidout, | |||
$isimage = false , |
|||
$docid = '' |
|||
) |
Generate a conversion of a file The result is store in vault itself
string | $engine | the convert engine identifier (from VaultEngine Class) |
int | $vidin | vault file identifier (original file) |
int | $vidout | vault identifier of new stored file |
boolean | $isimage | true is it is a image (jpng, png, ...) |
int | $docid | original document where the file is inserted |
Definition at line 63 of file Lib.Vault.php.
vault_get_content | ( | $idfile | ) |
return context of a file
int | $idfile | vault file identifier |
Definition at line 166 of file Lib.Vault.php.
vault_properties | ( | $idfile, | |
$teng_name = "" |
|||
) |
return various informations for a file stored in VAULT
int | $idfile | vault file identifier |
string | $teng_name | transformation engine name |
Definition at line 114 of file Lib.Vault.php.
vault_store | ( | $filename, | |
& | $vid, | ||
$ftitle = "" |
|||
) |
return various informations for a file stored in VAULT
string | $filename | |
int | &$vid | return vaul identifier |
Definition at line 153 of file Lib.Vault.php.
vault_uniqname | ( | $idfile, | |
$teng_name = "" |
|||
) |
return unique name with for a vault file
int | $idfile | vault file identifier |
string | $teng_name | transformation engine name |
Definition at line 127 of file Lib.Vault.php.