public static function executeComponentFunction(string $nameOrId, string $function, $arguments = array())
    {
        $module = self::getComponentClassInstance($nameOrId);
        
        if (method_exists($module, $function)) {
            $tag = new TemplateTag((array)$arguments);
            return $module->$function($tag);
        }
    }