You are here

function cmfcClassesCoreStandAlone::setOption in Calendar Systems 7

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

* @NOTICE child classed definition should apply the byReference version of function *

Parameters

$name: * @param $value * @param $merge * @return unknown_type

2 calls to cmfcClassesCoreStandAlone::setOption()
cmfcCalendarV1::setOption in calendar/v1/calendarV1.class.inc.php
* @NOTICE child classed definition should apply the byReference version of function *
cmfcClassesCoreStandAlone::setOptions in calendar/lib/classesCore.class.inc.php
* @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 *
1 method overrides cmfcClassesCoreStandAlone::setOption()
cmfcCalendarV1::setOption in calendar/v1/calendarV1.class.inc.php
* @NOTICE child classed definition should apply the byReference version of function *

File

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

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function setOption($name, $value, $merge = false) {
  return $this
    ->setOptionByReference($name, $value, $merge);
}