Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Nextras
Application
UI
SecuredLinksPresenterTrait
PHP Trait Nextras\Application\UI\SecuredLinksPresenterTrait
Inheritance:
use trait
SecuredLinksControlTrait
Datei anzeigen
Open project: nextras/secured-links
Public Methods
Method
Description
createSecuredLink
(
Nette\Application\UI\Component
$component
,
string
$link
,
string
$destination
) :
string
getCsrfToken
(
string
$control
,
string
$method
,
array
$params
) :
string
Returns unique token for method and params
Method Details
createSecuredLink()
public
method
public
createSecuredLink
(
Nette\Application\UI\Component
$component
,
string
$link
,
string
$destination
) :
string
$component
Nette\Application\UI\Component
$link
string
created URL
$destination
string
return
string
getCsrfToken()
public
method
Returns unique token for method and params
public
getCsrfToken
(
string
$control
,
string
$method
,
array
$params
) :
string
$control
string
$method
string
$params
array
return
string