Class to represent a tool consumer nonce. More...
Public Member Functions | |
| __construct ($consumer, $value=null) | |
| Class constructor. | |
| ToolConsumer | getConsumer () |
| Get tool consumer. | |
Public Member Functions inherited from PlatformNonce | |
| __construct ($platform, $value=null) | |
| Class constructor. | |
| bool | load () |
| Load a nonce value from the database. | |
| bool | save () |
| Save a nonce value in the database. | |
| bool | delete () |
| Delete a nonce value in the database. | |
| Platform | getPlatform () |
| Get platform. | |
| string | getValue () |
| Get outcome value. | |
Additional Inherited Members | |
Public Attributes inherited from PlatformNonce | |
| const | MAX_NONCE_AGE = 30 |
| Maximum age nonce values will be retained for (in minutes). | |
| int null | $expires = null |
| Timestamp for when the nonce value expires. | |
Static Public Attributes inherited from PlatformNonce | |
| static int | $maximumLength = 50 |
| Maximum length which can be stored. | |
Class to represent a tool consumer nonce.
| __construct | ( | $consumer, | |
$value = null |
|||
| ) |
Class constructor.
| ToolConsumer | $consumer | Tool consumer object |
| string | $value | Nonce value (optional, default is null) |
Reimplemented from PlatformNonce.
References Util\logDebug().
| ToolConsumer getConsumer | ( | ) |
Get tool consumer.
References PlatformNonce\getPlatform().