You are here

function cmfcClassesCoreStandAlone::setOptionsByReference in Calendar Systems 7.3

Same name and namespace in other branches
  1. 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()
  2. 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()
  3. 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()
  4. 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()
  5. 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()
  6. 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptionsByReference()

File

calendar/lib/classesCore.class.inc.php, line 156

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function setOptionsByReference(&$options, $merge = false) {
  foreach ($options as $name => $value) {
    $r = $this
      ->setOptionByReference($name, $options[$name], $merge);
    if ($this
      ->isError($r)) {
      return $r;
    }
  }
}