PHP Class Contao\ModuleQuicknav

Front end module "quick navigation".
Inheritance: extends Module
ファイルを表示 Open project: contao/core-bundle

Protected Properties

Property Type Description
$strTemplate string Template

Public Methods

Method Description
generate ( ) : string Redirect to the selected page

Protected Methods

Method Description
compile ( ) Generate the module
getQuicknavPages ( integer $pid, integer $level = 1, string $host = null, string $language = null ) : array Recursively get all quicknav pages and return them as array

Method Details

compile() protected method

Generate the module
protected compile ( )

generate() public method

Redirect to the selected page
public generate ( ) : string
return string

getQuicknavPages() protected method

Recursively get all quicknav pages and return them as array
protected getQuicknavPages ( integer $pid, integer $level = 1, string $host = null, string $language = null ) : array
$pid integer
$level integer
$host string
$language string
return array

Property Details

$strTemplate protected_oe property

Template
protected string $strTemplate
return string