CMS  Version 3.9
authentication_token_form.inc File Reference

Go to the source code of this file.

Variables

 $menu_item = "Authentication Tokens"
 
 $token_id = checkNumeric($_GET["authentication_token_id"])
 
 $token = new AuthenticationToken()
 
if($token_id) else
 
 $form = new AutoForm($token)
 
$form allowDelete = true
 
 $mgr = new UserManager()
 
 $userclass = $mgr->getUserClass()
 
 $proto_user = new $userclass
 
 $userSelect = new RelatedItemSelectFieldRenderer($form, "user_id", "User", $userclass, "ORDER BY ".$mgr->getUsernameField(), $mgr->getUsernameField(), $proto_user->getPrimaryKey())
 
if($method=="POST") $script = $form->writeScript()
 

Variable Documentation

◆ $form

$form = new AutoForm($token)

Definition at line 52 of file authentication_token_form.inc.

◆ $menu_item

$menu_item = "Authentication Tokens"

Definition at line 37 of file authentication_token_form.inc.

◆ $mgr

$mgr = new UserManager()

Definition at line 55 of file authentication_token_form.inc.

◆ $proto_user

$proto_user = new $userclass

Definition at line 57 of file authentication_token_form.inc.

◆ $script

if ( $method=="POST") $script = $form->writeScript()

Definition at line 71 of file authentication_token_form.inc.

◆ $token

$token = new AuthenticationToken()

Definition at line 41 of file authentication_token_form.inc.

◆ $token_id

$token_id = checkNumeric($_GET["authentication_token_id"])

Definition at line 39 of file authentication_token_form.inc.

◆ $userclass

$userclass = $mgr->getUserClass()

Definition at line 56 of file authentication_token_form.inc.

◆ $userSelect

$userSelect = new RelatedItemSelectFieldRenderer($form, "user_id", "User", $userclass, "ORDER BY ".$mgr->getUsernameField(), $mgr->getUsernameField(), $proto_user->getPrimaryKey())

Definition at line 58 of file authentication_token_form.inc.

◆ allowDelete

$form allowDelete = true

Definition at line 53 of file authentication_token_form.inc.

◆ else

if ( $token_id) else
Initial value:

Definition at line 47 of file authentication_token_form.inc.