|
| preInsert () |
|
| setExpiration ($expiration="") |
|
| genToken () |
|
| getToken () |
|
| preUpdate () |
|
| __construct ($dbaccess= '', $id= '', $res= '', $dbid=0) |
|
| Select ($id) |
|
| getValues () |
|
| affectColumn ($fields, $reset=true) |
|
| affect ($array, $more=false, $reset=true) |
|
| 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 () |
|
| setError ($moreerr= '') |
|
| autoUpdate () |
|
| savePoint ($point) |
|
| lockPoint ($exclusiveLock, $exclusiveLockPrefix= '') |
|
| setMasterLock ($useLock) |
|
| rollbackPoint ($point) |
|
| commitPoint ($point) |
|
Definition at line 22 of file Class.UserToken.php.
static getExpirationDate |
( |
|
$delayInSeconds | ) |
|
|
static |
setExpiration |
( |
|
$expiration = "" | ) |
|
$Class = '$Id: Class.UserToken.php,v 1.6 2009/01/16 13:33:00 jerome Exp $' |
Initial value:= array(
'token',
'type',
'cdate',
'authorid',
'userid',
'expire',
'expendable',
'description',
'context'
)
Definition at line 26 of file Class.UserToken.php.
Initial value:= "
CREATE TABLE usertoken (
token text NOT NULL PRIMARY KEY,
type text,
cdate timestamp without time zone,
authorid int,
userid INT NOT NULL,
expire TIMESTAMP NOT NULL,
expendable BOOLEAN DEFAULT FALSE,
description text,
context text
);
CREATE INDEX usertoken_idx ON usertoken(token);
"
Definition at line 54 of file Class.UserToken.php.
const INFINITY = "infinity" |
The documentation for this class was generated from the following file: