function cmfcClassesCore::addCommandHandler in Calendar Systems 5
* @example * <code> * $object->addCommandHandler('commandName','functionName') * $object->addCommandHandler('commandName',array(&$myObject,'methodName')) * </code>
File
- calendar/
lib/ classesCore.class.inc.php, line 313
Class
- cmfcClassesCore
- all cmf classes inherit from this class
Code
function addCommandHandler($cmd, $commandHandler, $parameters = null) {
$this->_commandHandlers[$cmd][] = $commandHandler;
}