RoutableFragmentRenderer
in package
implements
FragmentRendererInterface
Adds the possibility to generate a fragment URI for a given Controller.
Tags
Interfaces, Classes and Traits
- FragmentRendererInterface
- Interface implemented by all rendering strategies.
Table of Contents
- setFragmentPath() : mixed
- Sets the fragment path that triggers the fragment listener.
- generateFragmentUri() : string
- Generates a fragment URI for a given controller.
Methods
setFragmentPath()
Sets the fragment path that triggers the fragment listener.
public
setFragmentPath(string $path) : mixed
Parameters
- $path : string
Tags
Return values
mixed —generateFragmentUri()
Generates a fragment URI for a given controller.
protected
generateFragmentUri(ControllerReference $reference, Request $request[, bool $absolute = false ][, bool $strict = true ]) : string
Parameters
- $reference : ControllerReference
- $request : Request
- $absolute : bool = false
-
Whether to generate an absolute URL or not
- $strict : bool = true
-
Whether to allow non-scalar attributes or not