Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ParamDef Class Reference
+ Inheritance diagram for ParamDef:
+ Collaboration diagram for ParamDef:

Static Public Member Functions

static getParamDef ($name, $appid=null)
 

Data Fields

 $fields
 
 $name
 
 $isuser
 
 $isstyle
 
 $isglob
 
 $appid
 
 $descr
 
 $kind
 
 $id_fields
 
 $dbtable = "paramdef"
 
 $sqlcreate
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $id_fields
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = ''
 
 $debug = false
 
 $sqlcreate
 
 $sqlinit
 
 $log
 

Additional Inherited Members

- Public Member Functions inherited from DbObj
 __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)
 
- Static Public Attributes inherited from DbObj
static $savepoint = array()
 
static $lockpoint = array()
 
static $sqlStrict = null
 
- Protected Member Functions inherited from DbObj
 tryCreate ()
 

Detailed Description

Definition at line 42 of file Class.ParamDef.php.

Member Function Documentation

static getParamDef (   $name,
  $appid = null 
)
static

get Param def object from name

Parameters
string$nameparameter name
int$appidapplication id
Returns
ParamDef

Definition at line 85 of file Class.ParamDef.php.

+ Here is the call graph for this function:

Field Documentation

$appid

Definition at line 57 of file Class.ParamDef.php.

$dbtable = "paramdef"

Definition at line 66 of file Class.ParamDef.php.

$descr

Definition at line 58 of file Class.ParamDef.php.

$fields
Initial value:
= array(
"name",
"isuser",
"isstyle",
"isglob",
"appid",
"descr",
"kind"
)

Definition at line 44 of file Class.ParamDef.php.

$id_fields
Initial value:
= array(
"name",
"appid"
)

Definition at line 61 of file Class.ParamDef.php.

$isglob

Definition at line 56 of file Class.ParamDef.php.

$isstyle

Definition at line 55 of file Class.ParamDef.php.

$isuser

Definition at line 54 of file Class.ParamDef.php.

$kind

Definition at line 59 of file Class.ParamDef.php.

$name

Definition at line 53 of file Class.ParamDef.php.

$sqlcreate
Initial value:
= '
create table paramdef (
name text,
isuser varchar(1),
isstyle varchar(1),
isglob varchar(1),
appid int4,
descr text,
kind text);
create unique index paramdef_idxna on paramdef(name, appid);
'

Definition at line 68 of file Class.ParamDef.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen