Go to the source code of this file.
|
| 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
- Parameters
-
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 |
- Returns
- string error message
Definition at line 222 of file Lib.Vault.php.
getOpenTeUrl |
( |
|
$context = array() | ) |
|
get url with open id to use with open authentiication
Definition at line 37 of file Lib.Vault.php.
sendTextTransformation |
( |
|
$dbaccess, |
|
|
|
$docid, |
|
|
|
$attrid, |
|
|
|
$index, |
|
|
|
$vid |
|
) |
| |
send request to have text conversion of file
Definition at line 181 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
- Parameters
-
string | $engine | the convert engine identificator (from VaultEngine Class) |
int | $vidin | vault file identificator (original file) |
int | $vidout | vault identificator of new stored file |
boolean | $isimage | true is it is a image (jpng, png, ...) |
int | $docid | original document where the file is inserted |
- Returns
- string error message (empty if OK)
Definition at line 66 of file Lib.Vault.php.
vault_get_content |
( |
|
$idfile | ) |
|
return context of a file
- Parameters
-
int | $idfile | vault file identificator |
- Returns
- array
Definition at line 167 of file Lib.Vault.php.
vault_properties |
( |
|
$idfile, |
|
|
|
$teng_name = "" |
|
) |
| |
return various informations for a file stored in VAULT
- Parameters
-
int | $idfile | vault file identificator |
string | $teng_name | transformation engine name |
- Returns
- array
Definition at line 115 of file Lib.Vault.php.
vault_store |
( |
|
$filename, |
|
|
& |
$vid, |
|
|
|
$ftitle = "" |
|
) |
| |
return various informations for a file stored in VAULT
- Parameters
-
string | $filename | |
int | &$vid | return vaul identificator |
- Returns
- string error message
Definition at line 154 of file Lib.Vault.php.
vault_uniqname |
( |
|
$idfile, |
|
|
|
$teng_name = "" |
|
) |
| |
return unique name with for a vault file
- Parameters
-
int | $idfile | vault file identificator |
string | $teng_name | transformation engine name |
- Returns
- string the unique name
Definition at line 128 of file Lib.Vault.php.