JHtmlForm
class JHtmlForm
Utility class for form elements
Methods
static
string
token(
array $attribs = array())
Displays a hidden token field to reduce the risk of CSRF exploits
static
void
csrf(
string $name = 'csrf.token')
Add CSRF form token to Joomla script options that developers can get it by Javascript.