src/magicphp/events.class.php
public static function Has($sName){
            $oThis = self::CreateInstanceIfNotExists();
            $sName = strtolower(str_replace(array("/", "\\", "--"), "-", $sName));//Bugfix        
            return array_key_exists($sName, $oThis->aEvents);
        }
public static function Has($sName){
            $oThis = self::CreateInstanceIfNotExists();
            $sName = strtolower(str_replace(array("/", "\\", "--"), "-", $sName));//Bugfix        
            return array_key_exists($sName, $oThis->aEvents);
        }
public static function Has ( $ sName ) { $ oThis = self :: CreateInstanceIfNotExists ( ) ; $ sName = strtolower ( str_replace ( array ( "/" , "\\" , "--" ) , "-" , $ sName ) ) ; //Bugfix         return array_key_exists ( $ sName , $ oThis -> aEvents ) ; }
Function to check existence of event

@static
@access public
@param string $sName
@return boolean
Function to check existence of event