| 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 ] $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) |
|
| 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) |
|
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) |
|
| 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) |
|
| 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) |
|
| 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 'file' or 'php'. File will write the constant in the given file, replacing/adding constants as needed. Php will call define() function to actually define the constants.
$options can contain 'prefix' => 'prefix_goes_here', 'area' => 'specific area id to grab rights from', 'application' => 'specific application id to grab rights from' '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
If no prefix is given it will not be used to generate the constants
| 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 |