Methods summary
public
string
|
#
UrlByQueryString( string $controllerActionOrRouteName = 'Index:Index', array & $params = [], string $givenRouteName = NULL )
Parameters
- $controllerActionOrRouteName
- $params
- $givenRouteName
Returns
string
Inheritdocs
|
protected
array
|
#
urlByQueryStringCompleteCtrlAction( mixed $controllerActionOrRouteName, array & $params )
Complete controller or action possible passed through $params array.
It there is controller or action founded, unset it from $params and
returns it as result Array - first index is controller, second is action.
Complete controller or action possible passed through $params array.
It there is controller or action founded, unset it from $params and
returns it as result Array - first index is controller, second is action.
Parameters
- $controllerActionOrRouteName
- $params
Returns
array
|
protected
string
|
#
urlByQueryStringCompleteResult( string $ctrlPc, string $actionPc, array & $params )
Complete query string URL address - the query part from ? by fully completed
arguments - controller and action. If controller or action has default
values, do not render them in result URL address. If there are also any
$params in third argument, add those params as query string after.
If controller and also action has default values and there are no params,
return / slash (to target homepage).
Complete query string URL address - the query part from ? by fully completed
arguments - controller and action. If controller or action has default
values, do not render them in result URL address. If there are also any
$params in third argument, add those params as query string after.
If controller and also action has default values and there are no params,
return / slash (to target homepage).
Parameters
- $ctrlPc
- $actionPc
- $params
Returns
string
|
protected
boolean
|
#
urlGetAbsoluteParam( array & $params = [] )
Return boolean about to generate absolute URL address or not. Get TRUE
if given array $params contains boolean record under "absolute"
array key and if the record is TRUE . Unset the absolute flag from
$params in any case and return the boolean value (FALSE by default).
Return boolean about to generate absolute URL address or not. Get TRUE
if given array $params contains boolean record under "absolute"
array key and if the record is TRUE . Unset the absolute flag from
$params in any case and return the boolean value (FALSE by default).
Parameters
- $params
- Params array, the second argument from router
Url() method.
Returns
boolean
|