Platform  3.1
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)
 
 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)
 

Data Fields

 $fields
 
 $id_fields
 
 $dbtable = "acl"
 
 $sqlcreate
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = null
 
 $debug = false
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 

Detailed Description

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

Member Function Documentation

Complete ( )

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

DelAppAcl (   $id)

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

Exists (   $name,
  $id_app 
)

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

getAclApplication (   $idapp)

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

getDefaultAcls (   $idapp)

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

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

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

PreInsert ( )

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

+ Here is the call graph for this function:

PreUpdate ( )

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

Set (   $name,
  $id_app 
)

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

+ Here is the call graph for this function:

Field Documentation

$dbtable = "acl"

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

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

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

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

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

$sqlcreate
Initial value:
= '
create table acl (id int not null,
id_application int not null,
name varchar(30) not null,
grant_level int not null,
description varchar(100),
group_default varchar(1));
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 41 of file Class.Acl.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase