public static function action($actionName, $controllerName = null, $routeValues = null, $fragment = null, $schema = null, $host = null) {
        return UrlHelper::action(self::$viewContext, $actionName, $controllerName, $routeValues, $fragment, $schema, $host);
    }
public static function action($actionName, $controllerName = null, $routeValues = null, $fragment = null, $schema = null, $host = null) {
        return UrlHelper::action(self::$viewContext, $actionName, $controllerName, $routeValues, $fragment, $schema, $host);
    }
public static function action ( $ actionName , $ controllerName = null , $ routeValues = null , $ fragment = null , $ schema = null , $ host = null ) { return UrlHelper :: action ( self :: $ viewContext , $ actionName , $ controllerName , $ routeValues , $ fragment , $ schema , $ host ) ; }
Returns the path to action.

@param string $actionName The name of the action.
@param string $controllerName The name of the controller. Default: current controller.
@param array $routeValues An array that contains the parameters for a route.
@param string $fragment The URL fragment name (the anchor name).
@param string $schema The protocol for the URL, such as "http" or "https".
@param string $host The host name for the URL.

@return string
Returns the path to action .