You are here

public function LingotekPhase::__construct in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
  2. 7.2 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
  3. 7.3 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
  4. 7.4 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
  5. 7.6 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()

Constructor.

Parameters

object $phase: Phase data as returned by a getPhase API call.

File

lib/Drupal/lingotek/LingotekPhase.php, line 25
Defines LingotekPhase.

Class

LingotekPhase
A class representing a Lingotek Workflow Phase.

Code

public function __construct($phase) {
  $this->phase = $phase;
}