You are here

function cmfcClassesCoreStandAlone::getOption in Calendar Systems 8.2

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

* works fine in both php4 & 5. but you should use & when you call the function. $b=&$ins->getOption('property')

File

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

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function &getOption($name) {
  return $this->{'_' . $name};
}