You are here

function cmfcClassesCoreStandAlone::getOption in Calendar Systems 7

Same name and namespace in other branches
  1. 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
  2. 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
  3. 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
  4. 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
  5. 7.3 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 198

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

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