You are here

public function LingotekPhase::__get in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
  2. 7.2 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
  3. 7.3 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
  4. 7.4 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::__get()
  5. 7.5 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;
}