\web\lib\commonFormElements

This class defines constants for HTML form handling.

When submitting forms, the sending page's form and receiving page's POST/GET must have a common understanding on what's being transmitted. Rather than using strings or raw integers, named constants are much prettier.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
BUTTON_CLOSE
BUTTON_CONTINUE
BUTTON_DELETE
BUTTON_SAVE
BUTTON_EDIT
BUTTON_TAKECONTROL
BUTTON_PURGECACHE
BUTTON_FLUSH_AND_RESTART
BUTTON_SANITY_TESTS
BUTTON_TERMSOFUSE
BUTTON_ADDUSER
BUTTON_CHANGEUSEREXPIRY
BUTTON_REVOKEINVITATION
BUTTON_REVOKECREDENTIAL
BUTTON_DEACTIVATEUSER
BUTTON_NEWINVITATION
BUTTON_ACKUSERELIGIBILITY
BUTTON_SENDINVITATIONMAILBYADMIN
BUTTON_SENDINVITATIONMAILBYCAT
BUTTON_SENDINVITATIONSMS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

BUTTON_CLOSE

BUTTON_CLOSE = 0

BUTTON_CONTINUE

BUTTON_CONTINUE = 1

BUTTON_DELETE

BUTTON_DELETE = 2

BUTTON_SAVE

BUTTON_SAVE = 3

BUTTON_EDIT

BUTTON_EDIT = 4

BUTTON_TAKECONTROL

BUTTON_TAKECONTROL = 5

BUTTON_PURGECACHE

BUTTON_PURGECACHE = 6

BUTTON_FLUSH_AND_RESTART

BUTTON_FLUSH_AND_RESTART = 7

BUTTON_SANITY_TESTS

BUTTON_SANITY_TESTS = 8

BUTTON_TERMSOFUSE

BUTTON_TERMSOFUSE = 9

BUTTON_ADDUSER

BUTTON_ADDUSER = 10

BUTTON_CHANGEUSEREXPIRY

BUTTON_CHANGEUSEREXPIRY = 11

BUTTON_REVOKEINVITATION

BUTTON_REVOKEINVITATION = 12

BUTTON_REVOKECREDENTIAL

BUTTON_REVOKECREDENTIAL = 13

BUTTON_DEACTIVATEUSER

BUTTON_DEACTIVATEUSER = 14

BUTTON_NEWINVITATION

BUTTON_NEWINVITATION = 15

BUTTON_ACKUSERELIGIBILITY

BUTTON_ACKUSERELIGIBILITY = 16

BUTTON_SENDINVITATIONMAILBYADMIN

BUTTON_SENDINVITATIONMAILBYADMIN = 17

BUTTON_SENDINVITATIONMAILBYCAT

BUTTON_SENDINVITATIONMAILBYCAT = 18

BUTTON_SENDINVITATIONSMS

BUTTON_SENDINVITATIONSMS = 19