You are here

public function LingotekDocument::__construct in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
  2. 7.2 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
  3. 7.4 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
  4. 7.5 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::__construct()
  5. 7.6 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 = intval($document_id);
}