You are here

function _ed_classified_variable_get in Classified Ads 5

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_ed_classified_variable_get()
  2. 6.2 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(). TODO - this is hardcoded to the Classified Ads vid - needs to be able to handle any taxonomy assigned
ed_classified_cron in ./ed_classified.module
Implementation of hook_cron().
ed_classified_form in ./ed_classified.module
Implementation of 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 34
Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…

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;
}