API15

JRouter/attachParseRule: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 41: Line 41:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=attachParseRule
  category=attachParseRule
  category=JRouter
  category=JRouter
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:05, 25 March 2017

Description

Attach a parse rule

[<! removed edit link to red link >]

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

Syntax

attachParseRule($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 attachParseRule($callback)
{
        $this->_rules['parse'][] = $callback;
}

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

Examples

Code Examples