CRM_Core_Key
class CRM_Core_Key
Properties
static | $_key | ||
static | $_sessionID |
Methods
static string
privateKey()
Generate a private key per session and store in session.
static mixed|null|string
sessionID()
No description
static string
get(string $name, bool $addSequence = FALSE)
Generate a form key based on form name, the current user session and a private key. Modelled after drupal's form API
static string
validate(string $key, string $name, bool $addSequence = FALSE)
Validate a form key based on the form name.
static bool
valid($key)
No description
Details
at line 46
static string
privateKey()
Generate a private key per session and store in session.
at line 61
static mixed|null|string
sessionID()
at line 84
static string
get(string $name, bool $addSequence = FALSE)
Generate a form key based on form name, the current user session and a private key. Modelled after drupal's form API
at line 107
static string
validate(string $key, string $name, bool $addSequence = FALSE)
Validate a form key based on the form name.