public function LingotekAccount::getPlanTypeText in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getPlanTypeText()
- 7.3 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getPlanTypeText()
- 7.4 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getPlanTypeText()
- 7.5 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getPlanTypeText()
File
- lib/
Drupal/ lingotek/ LingotekAccount.php, line 104 - Defines LingotekAccount.
Class
- LingotekAccount
- A class representing a Lingotek Account
Code
public function getPlanTypeText() {
$plan_pieces = explode('_', $this
->getPlanType());
$details = ucwords(end($plan_pieces));
// e.g., Enterprise, Monthly, Yearly
return $details;
}