PHP Class NetteAddons\BasePresenter

Inheritance: extends Nette\Application\UI\Presenter
ファイルを表示 Open project: nette/web-addons.nette.org Class Usage Examples

Public Properties

Property Type Description
$auth NetteAddons\Model\Authorizator
$helperLoader HelperLoader
$licenses NetteAddons\Model\Utils\Licenses
$pagesControlFactory NetteAddons\Components\IPagesControlFactory
$tags NetteAddons\Model\Tags
$textPreprocessor NetteAddons\TextPreprocessor

Public Methods

Method Description
createTemplate ( $class = NULL ) : Nette\Templating\ITemplate
link ( $destination, array | mixed $args = [] ) : string Generates link. If links points to @secure annotated signal handler method, additonal parameter preventing changing parameters will be added.
signalReceived ( $signal ) : void Calls signal handler method and processes the @secured annotation.

Protected Methods

Method Description
beforeRender ( )
createComponentCategories ( ) : NetteAddons\Components\CategoriesControl
createComponentPages ( ) : NetteAddons\Components\PagesControl
createComponentSubMenu ( ) : NetteAddons\Components\SubMenuControl
createSecureHash ( $params ) : string Creates secure hash from array of arguments.

Method Details

beforeRender() protected method

protected beforeRender ( )

createComponentCategories() protected method

protected createComponentCategories ( ) : NetteAddons\Components\CategoriesControl
return NetteAddons\Components\CategoriesControl

createComponentPages() protected method

protected createComponentPages ( ) : NetteAddons\Components\PagesControl
return NetteAddons\Components\PagesControl

createComponentSubMenu() protected method

protected createComponentSubMenu ( ) : NetteAddons\Components\SubMenuControl
return NetteAddons\Components\SubMenuControl

createSecureHash() protected method

Creates secure hash from array of arguments.
protected createSecureHash ( $params ) : string
return string

createTemplate() public method

public createTemplate ( $class = NULL ) : Nette\Templating\ITemplate
return Nette\Templating\ITemplate

signalReceived() public method

Calls signal handler method and processes the @secured annotation.
public signalReceived ( $signal ) : void
return void

Property Details

$auth public_oe property

public Authorizator,NetteAddons\Model $auth
return NetteAddons\Model\Authorizator

$helperLoader public_oe property

public HelperLoader,NetteAddons $helperLoader
return HelperLoader

$licenses public_oe property

public Licenses,NetteAddons\Model\Utils $licenses
return NetteAddons\Model\Utils\Licenses

$pagesControlFactory public_oe property

public IPagesControlFactory,NetteAddons\Components $pagesControlFactory
return NetteAddons\Components\IPagesControlFactory

$tags public_oe property

public Tags,NetteAddons\Model $tags
return NetteAddons\Model\Tags

$textPreprocessor public_oe property

public TextPreprocessor,NetteAddons $textPreprocessor
return NetteAddons\TextPreprocessor