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