eZXMLInputParser::callInputHandler PHP Method

callInputHandler() public method

public callInputHandler ( $handlerName, $tagName, &$attributes )
    function callInputHandler($handlerName, $tagName, &$attributes)
    {
        $result = null;
        $thisInputTag = $this->InputTags[$tagName];
        if (isset($thisInputTag[$handlerName])) {
            if (is_callable(array($this, $thisInputTag[$handlerName]))) {
                $result = call_user_func_array(array($this, $thisInputTag[$handlerName]), array($tagName, &$attributes));
            } else {
                eZDebug::writeWarning("'{$handlerName}' input handler for tag <{$tagName}> doesn't exist: '" . $thisInputTag[$handlerName] . "'.", 'eZXML input parser');
            }
        }
        return $result;
    }