function cmfcClassesCoreStandAlone::getOption in Calendar Systems 8.2
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
- 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
- 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::getOption()
- 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};
}