public function LingotekPhase::__get in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
- 7.2 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
- 7.3 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
- 7.4 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
- 7.6 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
Magic get for phase property access.
File
- lib/
Drupal/ lingotek/ LingotekPhase.php, line 108 - Defines LingotekPhase.
Class
- LingotekPhase
- A class representing a Lingotek Workflow Phase.
Code
public function __get($property) {
$value = NULL;
if (!empty($this->phase->{$property})) {
$value = $this->phase->{$property};
}
return $value;
}