Back to RouterInterface class

Method build

public array
build
(mixed &$query)
Build method for URLs This method is meant to transform the query parameters into a more human readable form. It is only executed when SEF mode is switched on.
Parameters
  • array & $query An array of URL arguments
Returns
  • array The URL arguments to use to assemble the subsequent URL.
Since
  • 3.3

Method build - Source code

/**
 * Build method for URLs
 * This method is meant to transform the query parameters into a more human
 * readable form. It is only executed when SEF mode is switched on.
 *
 * @param   array  &$query  An array of URL arguments
 *
 * @return  array  The URL arguments to use to assemble the subsequent URL.
 *
 * @since   3.3
 */
public function build(&$query);