You are here

public function LingotekAccount::setPlan in Lingotek Translation 7.4

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.5 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::setPlan()
  5. 7.6 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::setPlan()
1 call to LingotekAccount::setPlan()
LingotekAccount::getAccountStatus in lib/Drupal/lingotek/LingotekAccount.php
Get Account Status NOTE: You shouldnt need to call this directly. Its called in the constructor. Request: …

File

lib/Drupal/lingotek/LingotekAccount.php, line 83
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);
  }
}