public function LingotekDocument::__construct in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
- 7.2 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
- 7.3 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
- 7.4 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
- 7.5 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
Constructor.
Parameters
$document_id: A Lingotek Document ID.
File
- lib/
Drupal/ lingotek/ LingotekDocument.php, line 37 - Defines LingotekDocument.
Class
- LingotekDocument
- A class representing a Lingotek Document
Code
public function __construct($document_id) {
$this->document_id = $document_id;
}