You are here

function cmfcClassesCore::setOptions in Calendar Systems 5

1 call to cmfcClassesCore::setOptions()
cmfcCalendarV1::__construct in calendar/v1/calendarV1.class.inc.php

File

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

Class

cmfcClassesCore
all cmf classes inherit from this class

Code

function setOptions($options, $merge = false) {
  foreach ($options as $name => $value) {
    $r = $this
      ->setOption($name, $value, $merge);
    if (PEAR::isError($r)) {
      return $r;
    }
  }
}