You are here

public function LingotekAccount::isPlanType in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::isPlanType()
  2. 7.4 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::isPlanType()
  3. 7.5 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::isPlanType()
  4. 7.6 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::isPlanType()
1 call to LingotekAccount::isPlanType()
LingotekAccount::showAdvanced in lib/Drupal/lingotek/LingotekAccount.php

File

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

Class

LingotekAccount
A class representing a Lingotek Account

Code

public function isPlanType($type) {

  // isPlanType type values: 'advanced', 'standard'
  $account_type = $this
    ->getPlanType();
  return strcasecmp($type, $account_type) == 0;
}