API15

API15:JRouter/attachBuildRule

From Joomla! Documentation

Description

Attach a build rule

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

attachBuildRule($callback)
Parameter Name Default Value Description
$callback $callback The function to be called.

Defined in

libraries/joomla/application/router.php

Importing

jimport( 'joomla.application.router' );

Source Body

function attachBuildRule($callback)
{
        $this->_rules['build'][] = $callback;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples