|
| PreInsert () |
|
| PostInit () |
|
| PreUpdate () |
|
| SetKey ($appid, $userid, $styleid="0") |
|
| Set ($name, $val, $type=self::PARAM_GLB, $appid= '') |
|
| SetVolatile ($name, $val) |
|
| Get ($name, $def="") |
|
| GetAll ($appid="", $userid, $styleid="0") |
|
| GetUser ($userid=Account::ANONYMOUS_ID, $styleid="") |
|
| GetStyle ($styleid, $onlystyle=false) |
|
| GetApps () |
|
| GetUParam ($p, $u=Account::ANONYMOUS_ID, $appid="") |
|
| DelStatic ($appid) |
|
| PostDelete () |
|
| DelAll ($appid="") |
|
| __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 29 of file Class.Param.php.
GetAll |
( |
|
$appid = "" , |
|
|
|
$userid, |
|
|
|
$styleid = "0" |
|
) |
| |
GetStyle |
( |
|
$styleid, |
|
|
|
$onlystyle = false |
|
) |
| |
get list of parameters for a style
- Parameters
-
bool | $onlystyle | if false return all parameters excepts user parameters with style parameters if true return only parameters redifined by the style |
- Returns
- array of parameters values
Definition at line 202 of file Class.Param.php.
SetKey |
( |
|
$appid, |
|
|
|
$userid, |
|
|
|
$styleid = "0" |
|
) |
| |
SetVolatile |
( |
|
$name, |
|
|
|
$val |
|
) |
| |
Initial value:= array(
"name",
"type",
"appid",
"val"
)
Definition at line 37 of file Class.Param.php.
Initial value:= array(
"name",
"type",
"appid"
)
Definition at line 44 of file Class.Param.php.
Initial value:= '
create table paramv (
name varchar(50) not null,
type varchar(21),
appid int4,
val text);
create index paramv_idx2 on paramv(name);
create unique index paramv_idx3 on paramv(name,type,appid);
'
Definition at line 56 of file Class.Param.php.
The documentation for this class was generated from the following file: