JComponentRouterRulesInterface

JComponentRouterRules interface for Joomla

since

3.4

package

Joomla.Libraries

Methods

build

Builds URI segments from a query to encode the necessary informations for a route in a human-readable URL.

build( &$query,  &$segments) : void

This method should retrieve all its input from its method arguments.

since

3.4

Arguments

$query

$segments

parse

Parses a URI to retrieve informations for the right route through the component.

parse( &$segments,  &$vars) : void

This method should retrieve all its input from its method arguments.

since

3.4

Arguments

$segments

$vars

preprocess

Prepares a query set to be handed over to the build() method.

preprocess( &$query) : void

This should complete a partial query set to work as a complete non-SEFed URL and in general make sure that all information is present and properly formatted. For example, the Itemid should be retrieved and set here.

since

3.4

Arguments

$query