XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
& | create ($name, $timeout=XOOPS_TOKEN_TIMEOUT) |
& | fetch ($name, $serial_number=null) |
register (&$token) | |
unregister (&$token) | |
isRegistered ($name, $serial_number=null) | |
autoValidate ($name, $clearIfValid=true) | |
getRequestNumber ($name) | |
getUniqueSerial ($name) | |
![]() | |
& | fetch ($name) |
isRegistered ($name) | |
validate (&$token, $clearIfValid) | |
Static Public Member Functions | |
static & | quickCreate ($name, $timeout=XOOPS_TOKEN_TIMEOUT) |
static | quickValidate ($name, $clearIfValid=true) |
Data Fields | |
$_prefix = '' | |
![]() | |
$_prefix = '' | |
This class publish a token of the different same name of a serial number for the tab browser.
& create | ( | $name, | |
$timeout = XOOPS_TOKEN_TIMEOUT ) |
Create XoopsToken instance, register (keep to server), and returns it.
@access public
this | $name | token's name string. |
int | $timeout | time(if $timeout equal 0, this token will become unlimited) |
Reimplemented from XoopsTokenHandler.
getRequestNumber | ( | $name | ) |
|
static |
static method. This method was created for quick protection of default modules. this method will be deleted in the near future.
$name | ||
int | $timeout |
|
static |
static method. This method was created for quick protection of default modules. this method will be deleted in the near future.
$name | ||
bool | $clearIfValid |
register | ( | & | $token | ) |
unregister | ( | & | $token | ) |