|
| setHAlg ($hAlg) |
|
| setRndSize ($rndSize) |
|
| setExpiration ($expiration="") |
|
| genToken () |
|
| getToken () |
|
| deleteExpired () |
|
| preUpdate () |
|
| __construct ($dbaccess= '', $id= '', $res= '', $dbid=0) |
|
| Select ($id) |
|
| getValues () |
|
| AffectColumn ($fields) |
|
| Affect ($array) |
|
| isAffected () |
|
| Complete () |
|
| PreInsert () |
|
| PostInsert () |
|
| PreUpdate () |
|
| PostUpdate () |
|
| PreDelete () |
|
| PostDelete () |
|
| PreSelect ($id) |
|
| PostSelect ($id) |
|
| Add ($nopost=false, $nopre=false) |
|
| Modify ($nopost=false, $sfields="", $nopre=false) |
|
| Delete ($nopost=false) |
|
| Adds (&$tcopy, $nopost=false) |
|
| lw ($prop) |
|
| CloseConnect () |
|
| Create ($nopost=false) |
|
| PostInit () |
|
| init_dbid () |
|
| exec_query ($sql, $lvl=0, $prepare=false) |
|
| numrows () |
|
| fetch_array ($c, $type=PGSQL_ASSOC) |
|
| Update () |
|
| savePoint ($point) |
|
| rollbackPoint ($point) |
|
| commitPoint ($point) |
|
Definition at line 24 of file Class.UserToken.php.
setExpiration |
( |
|
$expiration = "" | ) |
|
$Class = '$Id: Class.UserToken.php,v 1.6 2009/01/16 13:33:00 jerome Exp $' |
Initial value:= array(
'token',
'userid',
'expire',
'expendable',
'context'
)
Definition at line 28 of file Class.UserToken.php.
Initial value:= "
CREATE TABLE usertoken (
token VARCHAR(256) NOT NULL PRIMARY KEY,
userid INT NOT NULL,
expire TIMESTAMP NOT NULL,
expendable BOOLEAN DEFAULT FALSE,
context text
);
CREATE INDEX usertoken_idx ON usertoken(token);
"
Definition at line 42 of file Class.UserToken.php.
The documentation for this class was generated from the following file: