checkConfirm
Description
Checks a confirm parameter for a specific action
Syntax
mixed checkConfirm (string $action)
Parameter $action
Expected type: String
Description: The action to verify
Return value
Expected type: Mixed
Description:
Possible types | |
Allowed values | Description |
String | A security token |
Boolean | True if the token matches everything |
Notes
- Token-based confirmation screen
- Generates a token unique to the specified action
- Currently only used as a security measure to prevent unknowingly downloading a malicious package