function lingotek_add_vault in Lingotek Translation 6
Same name and namespace in other branches
- 7.7 lingotek.remote.inc \lingotek_add_vault()
- 7.2 lingotek.api.inc \lingotek_add_vault()
- 7.3 lingotek.api.inc \lingotek_add_vault()
- 7.4 lingotek.api.inc \lingotek_add_vault()
- 7.5 lingotek.remote.inc \lingotek_add_vault()
- 7.6 lingotek.remote.inc \lingotek_add_vault()
1 call to lingotek_add_vault()
File
- ./
lingotek.api.inc, line 127
Code
function lingotek_add_vault($name) {
global $_lingotek_client;
$output = $_lingotek_client
->request('addTMVault', array(
'tmVaultName' => $name,
));
if ($output->results == "success") {
variable_set('lingotek_vault', $output->id);
return $output->id;
}
}