LinkParameterProviderInterface
Table of Contents
Methods
- getScriptUrl() : string
- Returns the URL of the current script
- getUrlParameters() : string[]
- Provides an array or GET parameters for URL generation
- isCurrentlySelectedItem() : bool
- Check if given value is currently the selected item
Methods
getScriptUrl()
Returns the URL of the current script
public
getScriptUrl() : string
Return values
stringgetUrlParameters()
Provides an array or GET parameters for URL generation
public
getUrlParameters(array $values) : string[]
Parameters
- $values : array
-
Array of values to include into the parameters or which might influence the parameters
Return values
string[] —Array of parameters which have to be added to URLs
isCurrentlySelectedItem()
Check if given value is currently the selected item
public
isCurrentlySelectedItem(array $values) : bool
This method is only used in the page tree.
Parameters
- $values : array
-
Values to be checked
Return values
bool —Returns TRUE if the given values match the currently selected item