Elgg  Version 6.1
Variables
securitytoken.php File Reference

Go to the source code of this file.

Variables

 $ts = elgg()->csrf->getCurrentTime()->getTimestamp()
 CSRF security token view for use with secure forms. More...
 
 $token = elgg()->csrf->generateActionToken($ts)
 

Variable Documentation

$token = elgg()->csrf->generateActionToken($ts)

Definition at line 9 of file securitytoken.php.

$ts = elgg()->csrf->getCurrentTime()->getTimestamp()

CSRF security token view for use with secure forms.

It is still recommended that you use input/form.

Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 8 of file securitytoken.php.