You are here

function _ed_classified_variable_set in Classified Ads 5.2

Same name and namespace in other branches
  1. 5 ed_classified_utils.inc \_ed_classified_variable_set()
  2. 6.2 ed_classified_utils.inc \_ed_classified_variable_set()
  3. 7.2 ed_classified_utils.inc \_ed_classified_variable_set()
2 calls to _ed_classified_variable_set()
_ed_classified_get_vid in ./ed_classified_utils.inc
Returns (and possibly creates) a primary vocabulary for classified Repairs association with primary vocabulary if $detect is TRUE.
_ed_classified_record_periodic_notifications in ./ed_classified_notifications.inc
Record last periodic notification processing time

File

./ed_classified_utils.inc, line 44
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_set($name, $newval, $log = FALSE) {
  if ($log) {
    _edi_wd(sprintf('variable_set \'%s\' changed from \'%s\' to \'%s\'', _ed_classified_cfg_varname($name), _ed_classified_variable_get($name, ''), $newval));
  }
  variable_set(_ed_classified_cfg_varname($name), $newval);
}