FileAccess Orion

RoutableFragmentRenderer
in package
implements FragmentRendererInterface

Adds the possibility to generate a fragment URI for a given Controller.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

FragmentRendererInterface
Interface implemented by all rendering strategies.

Table of Contents

$fragmentPath  : mixed
setFragmentPath()  : mixed
Sets the fragment path that triggers the fragment listener.
generateFragmentUri()  : string
Generates a fragment URI for a given controller.
checkNonScalar()  : mixed

Properties

Methods

setFragmentPath()

Sets the fragment path that triggers the fragment listener.

public setFragmentPath(string $path) : mixed
Parameters
$path : string

The path

Tags
see
FragmentListener
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

Return values
string

A fragment URI

checkNonScalar()

private checkNonScalar(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>
Return values
mixed

Search results