You are here

public function LingotekAccount::setPlan in Lingotek Translation 7.5

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

File

lib/Drupal/lingotek/LingotekAccount.php, line 76
Defines LingotekAccount.

Class

LingotekAccount
A class representing a Lingotek Account

Code

public function setPlan($plan) {
  $this->plan = $plan;
  if (is_object($plan) && isset($plan->type)) {
    $this
      ->setPlanType($plan->type);
  }
}