You are here

function cmfcCalendarV1::setOption in Calendar Systems 8.2

Same name and namespace in other branches
  1. 8 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  2. 5 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  3. 6.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  4. 6 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  5. 7.3 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  6. 7 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()
  7. 7.2 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::setOption()

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

Parameters

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

Overrides cmfcClassesCoreStandAlone::setOption

File

calendar/v1/calendarV1.class.inc.php, line 69

Class

cmfcCalendarV1

Code

function setOption($name, $value, $merge = false) {
  if ($name == 'timeZoneOffset') {
    $this
      ->setTimeZoneOffset($value);
  }
  return parent::setOption($name, $value, $merge);
}