Navigation

Search

loadSubscriptions

Description

Loads up the $context['subscriptions'] array, which contains information about all the subscriptions.

Syntax

void loadSubscriptions ()


Notes

  • Used by many other functions in this file
  • Loads all the information into $context['subscriptions']
  • Only loads the information if $context['subscriptions'] is empty

Context ($context) Variables
Name Description
$context['subscriptions'] An array of arrays containing information about all the subscriptions. The keys are the subscription IDs, and each array has id, name, desc, cost, real_cost, length, num_length, real_length, pending,
View all versions of this function