public function LingotekApi::xmlFormat in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.2 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::xmlFormat()
- 7.3 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::xmlFormat()
- 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::xmlFormat()
- 7.5 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::xmlFormat()
- 7.6 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::xmlFormat()
Gets the appropriate format code for the current system state.
Return value
string A XML format code.
2 calls to LingotekApi::xmlFormat()
- LingotekApi::addContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Add a document to the Lingotek platform.
- LingotekApi::updateContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Updates the content of an existing Lingotek document with the current object contents.
File
- lib/
Drupal/ lingotek/ LingotekApi.php, line 1026 - Defines Drupal\lingotek\LingotekApi
Class
- LingotekApi
- @file Defines Drupal\lingotek\LingotekApi
Code
public function xmlFormat() {
return variable_get('lingotek_advanced_parsing', TRUE) ? 'XML_OKAPI' : 'XML';
}