LiveUser_Admin |
[ class tree: LiveUser_Admin ] [ index: LiveUser_Admin ] [ all elements ] |
Packages: LiveUser_Admin Classes:
LiveUser_Admin
Files:LiveUser_Admin_Auth_Common LiveUser_Admin_Auth_DB LiveUser_Admin_Auth_MDB LiveUser_Admin_Auth_MDB2 LiveUser_Admin_Auth_PDO LiveUser_Admin_Auth_Storage_DB LiveUser_Admin_Auth_Storage_MDB LiveUser_Admin_Auth_Storage_MDB2 LiveUser_Admin_Auth_Storage_PDO LiveUser_Admin_Perm_Complex LiveUser_Admin_Perm_Medium LiveUser_Admin_Perm_Simple LiveUser_Admin_Perm_Storage_DB LiveUser_Admin_Perm_Storage_MDB LiveUser_Admin_Perm_Storage_MDB2 LiveUser_Admin_Perm_Storage_PDO LiveUser_Admin_Storage LiveUser_Admin_Storage_DB LiveUser_Admin_Storage_MDB LiveUser_Admin_Storage_MDB2 LiveUser_Admin_Storage_PDO LiveUser_Admin_Storage_SQL
Admin.php
Application.php Area.php area51.php Area_Admin_Areas.php coffeemaker.php Common.php Complex.php conf.php config.inc.php DB.php DB.php DB.php DB.php example.php Group.php GroupRights.php ImplyRights.php index.php loginscreen.php main.php MDB.php MDB.php MDB.php MDB.php MDB2.php MDB2.php MDB2.php MDB2.php Medium.php nav.php OutputRightsConstants.php PDO.php PDO.php PDO.php PDO.php Rights.php Simple.php SQL.php Storage.php Subgroups.php test.php testarea.php Translation.php User.php UserGroup.php UserRights.php |
[ Top ] $stack = null[line 97] Error stack
[ Top ] $withFieldMethodMap = array(
|
Type: | array |
|
array | $data | — | containing atleast the key-value-pairs of all required columns in the applications table |
|
array | $data | — | containing atleast the key-value-pairs of all required columns in the areas table |
|
array | $data | — | containing atleast the key-value-pairs of all required columns in the rights table |
|
array | $data | — | containing atleast the key-value-pairs of all required columns in the users table |
|
array | $data | — | containing atleast the key-value-pairs of all required columns in the perm_users table |
|
array | $params | — | containing key-value pairs for: 'fields' - ordered array containing the fields to fetch if empty all fields from the user table are fetched 'filters' - key values pairs (value may be a string or an array) 'orders' - key value pairs (values 'ASC' or 'DESC') 'rekey' - if set to true, returned array will have the first column as its first dimension 'group' - if set to true and $rekey is set to true, then all values with the same first column will be wrapped in an array 'limit' - number of rows to select 'offset' - first row to select 'select' - determines what query method to use: 'one' -> queryOne, 'row' -> queryRow, 'col' -> queryCol, 'all' ->queryAll (default) 'selectable_tables' - array list of tables that may be joined to in this query, the first element is the root table from which the joins are done |
|
array | $params | — | containing key-value pairs for: 'fields' - ordered array containing the fields to fetch if empty all fields from the user table are fetched 'filters' - key values pairs (value may be a string or an array) 'orders' - key value pairs (values 'ASC' or 'DESC') 'rekey' - if set to true, returned array will have the first column as its first dimension 'group' - if set to true and $rekey is set to true, then all values with the same first column will be wrapped in an array 'limit' - number of rows to select 'offset' - first row to select 'select' - determines what query method to use: 'one' -> queryOne, 'row' -> queryRow, 'col' -> queryCol, 'all' ->queryAll (default) 'selectable_tables' - array list of tables that may be joined to in this query, the first element is the root table from which the joins are done |
|
Overridden in child classes as:
array | $params | — | containing key-value pairs for: 'fields' - ordered array containing the fields to fetch if empty all fields from the user table are fetched 'filters' - key values pairs (value may be a string or an array) 'orders' - key value pairs (values 'ASC' or 'DESC') 'rekey' - if set to true, returned array will have the first column as its first dimension 'group' - if set to true and $rekey is set to true, then all values with the same first column will be wrapped in an array 'limit' - number of rows to select 'offset' - first row to select 'select' - determines what query method to use: 'one' -> queryOne, 'row' -> queryRow, 'col' -> queryCol, 'all' ->queryAll (default) 'selectable_tables' - array list of tables that may be joined to in this query, the first element is the root table from which the joins are done |
|
array | $params | — | containing key-value pairs for: 'fields' - ordered array containing the fields to fetch if empty all fields from the user table are fetched 'filters' - key values pairs (value may be a string or an array) 'orders' - key value pairs (values 'ASC' or 'DESC') 'rekey' - if set to true, returned array will have the first column as its first dimension 'group' - if set to true and $rekey is set to true, then all values with the same first column will be wrapped in an array 'limit' - number of rows to select 'offset' - first row to select 'select' - determines what query method to use: 'one' -> queryOne, 'row' -> queryRow, 'col' -> queryCol, 'all' ->queryAll (default) 'selectable_tables' - array list of tables that may be joined to in this query, the first element is the root table from which the joins are done |
|
array | $params | — | containing key-value pairs for: 'fields' - ordered array containing the fields to fetch if empty all fields from the user table are fetched 'filters' - key values pairs (value may be a string or an array) 'orders' - key value pairs (values 'ASC' or 'DESC') 'rekey' - if set to true, returned array will have the first column as its first dimension 'group' - if set to true and $rekey is set to true, then all values with the same first column will be wrapped in an array 'limit' - number of rows to select 'offset' - first row to select 'select' - determines what query method to use: 'one' -> queryOne, 'row' -> queryRow, 'col' -> queryCol, 'all' ->queryAll (default) 'selectable_tables' - array list of tables that may be joined to in this query, the first element is the root table from which the joins are done |
|
array | $data | — | containing the perm_user_id and right_id and optionally a right_level |
|
array | &$conf | — | array containing the configuration. |
|
$type can be either 'constant' or 'array'. Constant will result in defining constants while array results in defining an array.
$options can contain 'prefix' => prefix for the generated (qualified) names 'area' => specific area id to grab rights from 'application' => specific application id to grab rights from 'filters' => specific set of filters to use (overwrites area/application) 'by_group' => if joins should be done using the 'userrights' (false default) or through the 'grouprights' and 'groupusers' tables (true) 'inherited' => filter array to fetch all rights from (sub)group membership 'implied' => filter array for fetching implied rights 'naming' => LIVEUSER_SECTION_RIGHT for PREFIX_RIGHTNAME <- DEFAULT LIVEUSER_SECTION_AREA for PREFIX_AREANAME_RIGHTNAME LIVEUSER_SECTION_APPLICATION for PREFIX_APPLICATIONNAME_AREANAME_RIGHTNAME 'filename' => if $mode is 'file' you must give the full path for the output file 'varname' => if $mode is 'file' and $type is 'array' you must give the name of the variable to define
If no prefix is given it will not be used to generate the constants/arrays
$mode can either be 'file' or 'direct' and will determine of the constants/arrays will be written to a file, or returned/defined. returned as an array when $type is set to 'array' and defined when $type is set to 'constant'
string | $type | — | type of output ('constant' or 'array') |
array | $options | — | options for constants generation |
string | $mode | — | output mode desired ('file' or 'direct') |
|
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all applications will be affected by the remove |
|
Overridden in child classes as:
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all areas will be affected by the remove |
|
Overridden in child classes as:
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all rights will be affected by the remove |
|
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all translations will be affected by the remove |
|
Overridden in child classes as:
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all users will be affected by the removed |
|
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all users will be affected by the remove |
|
array | $data | — | containing the key value pairs of columns to update |
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all applictions will be affected by the update |
|
array | $data | — | associative array in the form of $fieldname => $data |
array | $filters | — | associative array in the form of $fieldname => $data This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all areas will be affected by the update |
|
array | $data | — | containing the key value pairs of columns to update |
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all rights will be affected by the update |
|
array | $data | — | containing the key value pairs of columns to update |
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all translations will be affected by the update |
|
array | $data | — | containing the key value pairs of columns to update |
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all users will be affected by the update |
|
array | $data | — | containing the key value pairs of columns to update |
array | $filters | — | key values pairs (value may be a string or an array) This will construct the WHERE clause of your update Be careful, if you leave this blank no WHERE clause will be used and all users will be affected by the update |