You are here

function cmfcClassesCoreStandAlone::hasCommandHandler in Calendar Systems 6.3

Same name and namespace in other branches
  1. 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()
  2. 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()
  3. 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()
  4. 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()
  5. 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()
  6. 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::hasCommandHandler()

File

calendar/lib/classesCore.class.inc.php, line 383

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function hasCommandHandler($cmd) {
  if (is_array($this->_commandHandlers[$cmd])) {
    if (!empty($this->_commandHandlers[$cmd])) {
      return true;
    }
  }
  return false;
}