function cmfcClassesCoreStandAlone::prependCommandHandler in Calendar Systems 7
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
- 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
- 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
- 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::prependCommandHandler()
File
- calendar/
lib/ classesCore.class.inc.php, line 406
Class
- cmfcClassesCoreStandAlone
- all cmf classes inherit from this class
Code
function prependCommandHandler($cmd, $commandHandler, $parameters = null) {
if (empty($this->_commandHandlers[$cmd])) {
$this->_commandHandlers[$cmd] = array();
}
array_unshift($this->_commandHandlers[$cmd], $commandHandler);
}