function cmfcClassesCoreStandAlone::addCommandHandler in Calendar Systems 8.2
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
- 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
- 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
- 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addCommandHandler()
* @example * <code> * $object->addCommandHandler('commandName','functionName') * $object->addCommandHandler('commandName',array(&$myObject,'methodName')) * </code>
File
- calendar/
lib/ classesCore.class.inc.php, line 399
Class
- cmfcClassesCoreStandAlone
- all cmf classes inherit from this class
Code
function addCommandHandler($cmd, $commandHandler, $parameters = null) {
$this->_commandHandlers[$cmd][] = $commandHandler;
}