JComponentRouterRulesNomenu

Implements \JComponentRouterRulesInterface

Rule to process URLs without a menu item

since

3.4

package

Joomla.Libraries

Methods

__construct

Class constructor.

__construct(\JComponentRouterView $router) 
since

3.4

Arguments

$router

\JComponentRouterViewRouter this rule belongs to

build

Build a menu-less URL

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

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

since

3.4

Arguments

$query

$segments

parse

Parse a menu-less URL

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

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

since

3.4

Arguments

$segments

$vars

preprocess

Dummymethod to fullfill the interface requirements

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

Properties

router

Router this rule belongs to