public function LingotekPhase::__construct in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
- 7.2 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
- 7.3 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
- 7.4 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__construct()
- 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;
}