You are here

function _ec_variable_init in Elysia Cron 7.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \_ec_variable_init()
  2. 5 elysia_cron.module \_ec_variable_init()
  3. 6.2 elysia_cron.module \_ec_variable_init()
  4. 6 elysia_cron.module \_ec_variable_init()
  5. 7 elysia_cron.module \_ec_variable_init()

Initialise global variables.

3 calls to _ec_variable_init()
_ec_variable_del in ./elysia_cron.module
A substitute for variable_del to avoid cache management.
_ec_variable_get in ./elysia_cron.module
A substitute for variable_get to avoid cache management.
_ec_variable_set in ./elysia_cron.module
A substitute for variable_set to avoid cache management.

File

./elysia_cron.module, line 241

Code

function _ec_variable_init() {
  global $_ec_variables, $_ec_variables_allowed;
  $_ec_variables = array();
  foreach ($_ec_variables_allowed as $name) {
    $_ec_variables[$name] = variable_get($name);
  }
}