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

Public Member Functions

 Set ($name, $id_app)
 
 Complete ()
 
 PreInsert ()
 
 PreUpdate ()
 
 Exists ($name, $id_app)
 
 DelAppAcl ($id)
 
 Init ($app, $app_acl, $update=FALSE)
 
 getDefaultAcls ($idapp)
 
 getAclApplication ($idapp)
 
- 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)
 

Data Fields

 $fields
 
 $id_fields
 
 $id
 
 $id_application
 
 $name
 
 $grant_level
 
 $description
 
 $group_default
 
 $dbtable = "acl"
 
 $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

- 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 22 of file Class.Acl.php.

Member Function Documentation

Complete ( )

Definition at line 74 of file Class.Acl.php.

DelAppAcl (   $id)

Definition at line 103 of file Class.Acl.php.

Exists (   $name,
  $id_app 
)

Definition at line 92 of file Class.Acl.php.

getAclApplication (   $idapp)

Definition at line 288 of file Class.Acl.php.

getDefaultAcls (   $idapp)

Definition at line 273 of file Class.Acl.php.

Init (   $app,
  $app_acl,
  $update = FALSE 
)

Definition at line 123 of file Class.Acl.php.

PreInsert ( )

Definition at line 78 of file Class.Acl.php.

+ Here is the call graph for this function:

PreUpdate ( )

Definition at line 86 of file Class.Acl.php.

Set (   $name,
  $id_app 
)

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

Field Documentation

$dbtable = "acl"

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

$description

Definition at line 40 of file Class.Acl.php.

$fields
Initial value:
= array(
"id",
"id_application",
"name",
"grant_level",
"description",
"group_default"
)

Definition at line 24 of file Class.Acl.php.

$grant_level

Definition at line 39 of file Class.Acl.php.

$group_default

Definition at line 41 of file Class.Acl.php.

$id

Definition at line 36 of file Class.Acl.php.

$id_application

Definition at line 37 of file Class.Acl.php.

$id_fields
Initial value:
= array(
"id"
)

Definition at line 33 of file Class.Acl.php.

$name

Definition at line 38 of file Class.Acl.php.

$sqlcreate
Initial value:
= '
create table acl (id int not null,
id_application int not null,
name text not null,
grant_level int not null,
description text,
group_default char);
create index acl_idx1 on acl(id);
create index acl_idx2 on acl(id_application);
create index acl_idx3 on acl(name);
create sequence SEQ_ID_ACL;
'

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


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