function cmfcClassesCoreStandAlone::setOptions in Calendar Systems 7.2
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
- 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
- 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
- 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::setOptions()
* @NOTICE child classed definition should apply the byReference version of function * to pass by reference to work correctly * @NOTICE $options[$name] is require for PHP4,PHP5 compatibility *
Parameters
$options: * @param $merge * @return unknown_type
1 call to cmfcClassesCoreStandAlone::setOptions()
- cmfcCalendarV1::__construct in calendar/
v1/ calendarV1.class.inc.php
File
- calendar/
lib/ classesCore.class.inc.php, line 150
Class
- cmfcClassesCoreStandAlone
- all cmf classes inherit from this class
Code
function setOptions($options, $merge = false) {
foreach ($options as $name => $value) {
$r = $this
->setOption($name, $options[$name], $merge);
if ($this
->isError($r)) {
return $r;
}
}
}