public function AcquiaDAM_Client::getSubscription in Media: Acquia DAM 7
Get the subscription information.
Return value
array An array of available sub information.
File
- src/
AcquiaDAM/ AcquiaDAM_Client.inc, line 134
Class
- AcquiaDAM_Client
- Client for making API requests.
Code
public function getSubscription() {
// Possible for this method to be called a lot in a single request, so we
// only want to fetch the info once for performance reasons.
static $sub_info = NULL;
if (empty($sub_info)) {
$sub_info = $this
->request('subscription');
}
return $sub_info;
}