You are here

function _ed_classified_variable_get in Classified Ads 6.2

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_ed_classified_variable_get()
  2. 5 ed_classified_utils.inc \_ed_classified_variable_get()
  3. 7.2 ed_classified_utils.inc \_ed_classified_variable_get()
20 calls to _ed_classified_variable_get()
ed_classified_admin_overview in ./ed_classified.module
Present admin options.
ed_classified_admin_settings in ./ed_classified_settings.inc
Implementation of hook_settings().
ed_classified_cron in ./ed_classified.module
Implements hook_cron().
ed_classified_form in ./ed_classified.module
Implements hook_form().
ed_classified_get_latest_ads_list in ./ed_classified_utils.inc
Get a list of latest ads for block use

... See full list

File

./ed_classified_utils.inc, line 37
Simple text-based classified ads module.

Code

function _ed_classified_variable_get($name, $defval, $log = FALSE) {
  $val = variable_get(_ed_classified_cfg_varname($name), $defval);
  if ($log) {
    _edi_wd(sprintf('variable_get \'%s\'= \'%s\'', _ed_classified_cfg_varname($name), $val));
  }
  return $val;
}