ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrgUnitPermissionGUI. More...
Static Public Member Functions | |
static | returnDbTableName () |
Static Public Member Functions inherited from ActiveRecord | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField ($old_name, $new_name) |
static | tableExists () |
static | fieldExists ($field_name) |
static | removeDBField ($field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
static | preloadObjects () |
static | additionalParams (array $additional_params) |
static | findOrFail ($primary_key, array $add_constructor_args=array()) |
Tries to find the object and throws an Exception if object is not found, instead of returning null. More... | |
static | findOrGetInstance ($primary_key, array $add_constructor_args=array()) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | orderBy ($orderBy, $orderDirection='ASC') |
static | dateFormat ($date_format='d.m.Y - H:i:s') |
static | limit ($start, $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $connector) |
static | raw ($set_raw=true) |
static | getArray ($key=null, $values=null) |
static | _toCamelCase ($str, $capitalise_first_char=false) |
Data Fields | |
const | PARENT_TEMPLATE = -1 |
const | TABLE_NAME = 'il_orgu_permissions' |
Data Fields inherited from ActiveRecord | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
$id = 0 | |
$context_id = 0 | |
$operations = [] | |
$possible_operations = [] | |
$selected_operation_ids = [] | |
$parent_id = self::PARENT_TEMPLATE | |
$position_id = 0 | |
$context | |
$protected = false | |
$newly_created = false | |
Protected Attributes inherited from ActiveRecord | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveRecord | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
static | getCalledClass () |
static | fromCamelCase ($str) |
Class ilOrgUnitPermissionGUI.
Definition at line 8 of file class.ilOrgUnitPermission.php.
ilOrgUnitPermission::afterObjectLoad | ( | ) |
Definition at line 108 of file class.ilOrgUnitPermission.php.
References ilOrgUnitOperationContextQueries\findById(), and getContextId().
ilOrgUnitPermission::create | ( | ) |
Definition at line 90 of file class.ilOrgUnitPermission.php.
References isProtected().
ilOrgUnitPermission::delete | ( | ) |
Definition at line 99 of file class.ilOrgUnitPermission.php.
References isProtected().
ilOrgUnitPermission::getContext | ( | ) |
Definition at line 223 of file class.ilOrgUnitPermission.php.
References $context.
Referenced by ilOrgUnitDefaultPermissionTableGUI\__construct().
ilOrgUnitPermission::getContextId | ( | ) |
Definition at line 140 of file class.ilOrgUnitPermission.php.
References $context_id.
Referenced by afterObjectLoad().
ilOrgUnitPermission::getId | ( | ) |
Definition at line 122 of file class.ilOrgUnitPermission.php.
References $id.
Referenced by ilOrgUnitDefaultPermissionTableGUI\__construct().
ilOrgUnitPermission::getOperations | ( | ) |
ilOrgUnitPermission::getParentId | ( | ) |
Definition at line 176 of file class.ilOrgUnitPermission.php.
References $parent_id.
Referenced by isDedicated(), and isTemplate().
ilOrgUnitPermission::getPositionId | ( | ) |
ilOrgUnitPermission::getPossibleOperations | ( | ) |
Definition at line 194 of file class.ilOrgUnitPermission.php.
References $possible_operations.
Referenced by ilOrgUnitDefaultPermissionTableGUI\__construct().
ilOrgUnitPermission::getSelectedOperationIds | ( | ) |
Definition at line 203 of file class.ilOrgUnitPermission.php.
References $selected_operation_ids.
ilOrgUnitPermission::isDedicated | ( | ) |
Definition at line 277 of file class.ilOrgUnitPermission.php.
References getParentId().
ilOrgUnitPermission::isNewlyCreated | ( | ) |
Definition at line 304 of file class.ilOrgUnitPermission.php.
References $newly_created.
ilOrgUnitPermission::isOperationIdSelected | ( | $operation_id | ) |
$operation_id |
Definition at line 214 of file class.ilOrgUnitPermission.php.
Referenced by ilOrgUnitDefaultPermissionTableGUI\fillRow().
ilOrgUnitPermission::isProtected | ( | ) |
Definition at line 286 of file class.ilOrgUnitPermission.php.
References $protected.
Referenced by create(), delete(), and update().
ilOrgUnitPermission::isTemplate | ( | ) |
Definition at line 268 of file class.ilOrgUnitPermission.php.
References getParentId().
|
static |
Definition at line 241 of file class.ilOrgUnitPermission.php.
ilOrgUnitPermission::setContext | ( | $context | ) |
\ilOrgUnitOperationContext | $context |
Definition at line 232 of file class.ilOrgUnitPermission.php.
References $context.
ilOrgUnitPermission::setContextId | ( | $context_id | ) |
int | $context_id |
Definition at line 149 of file class.ilOrgUnitPermission.php.
References $context_id.
ilOrgUnitPermission::setId | ( | $id | ) |
ilOrgUnitPermission::setNewlyCreated | ( | $newly_created | ) |
bool | $newly_created |
Definition at line 313 of file class.ilOrgUnitPermission.php.
References $newly_created.
ilOrgUnitPermission::setOperations | ( | $operations | ) |
ilOrgUnitPermission::setParentId | ( | $parent_id | ) |
int | $parent_id |
Definition at line 185 of file class.ilOrgUnitPermission.php.
References $parent_id.
ilOrgUnitPermission::setPositionId | ( | $position_id | ) |
int | $position_id |
Definition at line 259 of file class.ilOrgUnitPermission.php.
References $position_id.
ilOrgUnitPermission::setProtected | ( | $protected | ) |
bool | $protected |
Definition at line 295 of file class.ilOrgUnitPermission.php.
References $protected.
ilOrgUnitPermission::sleep | ( | $field_name | ) |
$field_name |
Definition at line 324 of file class.ilOrgUnitPermission.php.
ilOrgUnitPermission::update | ( | ) |
Definition at line 81 of file class.ilOrgUnitPermission.php.
References isProtected(), and League\Flysystem\Adapter\Polyfill\update().
ilOrgUnitPermission::wakeUp | ( | $field_name, | |
$field_value | |||
) |
$field_name | |
$field_value |
Definition at line 346 of file class.ilOrgUnitPermission.php.
References $id, $operations, and ilOrgUnitOperationQueries\findById().
|
protected |
Definition at line 66 of file class.ilOrgUnitPermission.php.
Referenced by getContext(), and setContext().
|
protected |
Definition at line 30 of file class.ilOrgUnitPermission.php.
Referenced by getContextId(), and setContextId().
|
protected |
Definition at line 22 of file class.ilOrgUnitPermission.php.
|
protected |
Definition at line 78 of file class.ilOrgUnitPermission.php.
Referenced by isNewlyCreated(), and setNewlyCreated().
|
protected |
Definition at line 38 of file class.ilOrgUnitPermission.php.
Referenced by getOperations(), setOperations(), and wakeUp().
|
protected |
Definition at line 54 of file class.ilOrgUnitPermission.php.
Referenced by getParentId(), and setParentId().
|
protected |
Definition at line 62 of file class.ilOrgUnitPermission.php.
Referenced by getPositionId(), and setPositionId().
|
protected |
Definition at line 42 of file class.ilOrgUnitPermission.php.
Referenced by getPossibleOperations().
|
protected |
Definition at line 74 of file class.ilOrgUnitPermission.php.
Referenced by isProtected(), and setProtected().
|
protected |
Definition at line 46 of file class.ilOrgUnitPermission.php.
Referenced by getSelectedOperationIds().
const ilOrgUnitPermission::PARENT_TEMPLATE = -1 |
Definition at line 10 of file class.ilOrgUnitPermission.php.
Referenced by ilOrgUnitPermissionQueries\getTemplateSetForContextName().
const ilOrgUnitPermission::TABLE_NAME = 'il_orgu_permissions' |
Definition at line 11 of file class.ilOrgUnitPermission.php.