ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilOrgUnitOperation Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilOrgUnitOperation:
+ Collaboration diagram for ilOrgUnitOperation:

Public Member Functions

 create ()
 
 getOperationId ()
 
 setOperationId (int $operation_id)
 
 getOperationString ()
 
 setOperationString (string $operation_string)
 
 getDescription ()
 
 setDescription (string $description)
 
 getListOrder ()
 
 setListOrder (int $list_order)
 
 getContextId ()
 
 setContextId (int $context_id)
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 Return the Name of your Connector Table More...
 
 setConnectorContainerName (string $connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct ($primary_key=0)
 
 storeObjectToCache ()
 
 asStdClass ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, $value)
 
 sleep ($field_name)
 
 wakeUp ($field_name, $field_value)
 
 getArrayForConnector ()
 
 installConnector ()
 
 store ()
 
 save ()
 
 create ()
 
 copy (int $new_id=0)
 
 afterObjectLoad ()
 
 read ()
 
 update ()
 
 delete ()
 
 __call ($name, $arguments)
 

Static Public Member Functions

static returnDbTableName ()
 
- Static Public Member Functions inherited from ActiveRecord
static returnDbTableName ()
 
static installDB ()
 
static renameDBField (string $old_name, string $new_name)
 
static tableExists ()
 
static fieldExists (string $field_name)
 
static removeDBField (string $field_name)
 
static updateDB ()
 
static resetDB ()
 
static truncateDB ()
 
static flushDB ()
 never use in ILIAS Core, Plugins only More...
 
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, array $fields=array(' *'), string $operator='=', $both_external=false)
 
static innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static orderBy ($orderBy, string $orderDirection='ASC')
 
static dateFormat (string $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 (bool $set_raw=true)
 
static getArray (?string $key=null, $values=null)
 
static _toCamelCase (string $str, bool $capitalise_first_char=false)
 

Data Fields

const OP_READ_LEARNING_PROGRESS = 'read_learning_progress'
 
const OP_WRITE_LEARNING_PROGRESS = 'write_learning_progress'
 
const OP_EDIT_SUBMISSION_GRADES = 'edit_submissions_grades'
 
const OP_ACCESS_RESULTS = 'access_results'
 
const OP_MANAGE_MEMBERS = 'manage_members'
 
const OP_ACCESS_ENROLMENTS = 'access_enrolments'
 
const OP_MANAGE_PARTICIPANTS = 'manage_participants'
 
const OP_SCORE_PARTICIPANTS = 'score_participants'
 
const OP_VIEW_CERTIFICATES = 'view_certificates'
 
const OP_VIEW_COMPETENCES = 'view_competences'
 
const OP_EDIT_USER_ACCOUNTS = 'edit_user_accounts'
 
const OP_VIEW_MEMBERS = 'view_members'
 
const OP_VIEW_INDIVIDUAL_PLAN = 'view_individual_plan'
 
const OP_EDIT_INDIVIDUAL_PLAN = 'edit_individual_plan'
 
const OP_READ_EMPLOYEE_TALK = 'read_employee_talk'
 
const OP_CREATE_EMPLOYEE_TALK = 'create_employee_talk'
 
const OP_EDIT_EMPLOYEE_TALK = 'edit_employee_talk'
 

Protected Attributes

int $operation_id = 0
 
string $operation_string = ''
 
string $description = ''
 
int $list_order = 0
 
int $context_id = 0
 
- Protected Attributes inherited from ActiveRecord
bool $ar_safe_read = true
 
string $connector_container_name = ''
 
bool $is_new = true
 

Additional Inherited Members

- Protected Member Functions inherited from ActiveRecord
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
static getCalledClass ()
 Returns an instance of the instatiated calling active record (needs to be done in static methods) : This should be cached somehow More...
 
static fromCamelCase (string $str)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilOrgUnitOperation

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 23 of file class.ilOrgUnitOperation.php.

Member Function Documentation

◆ create()

ilOrgUnitOperation::create ( )

Definition at line 85 of file class.ilOrgUnitOperation.php.

References getContextId(), and getOperationString().

85  : void
86  {
87  if (self::where(array(
88  'context_id' => $this->getContextId(),
89  'operation_string' => $this->getOperationString(),
90  ))->hasSets()
91  ) {
92  throw new ilException('This operation in this context has already been registered.');
93  }
94  parent::create();
95  }
+ Here is the call graph for this function:

◆ getContextId()

ilOrgUnitOperation::getContextId ( )

Definition at line 137 of file class.ilOrgUnitOperation.php.

References $context_id.

Referenced by create().

137  : int
138  {
139  return $this->context_id;
140  }
+ Here is the caller graph for this function:

◆ getDescription()

ilOrgUnitOperation::getDescription ( )

Definition at line 117 of file class.ilOrgUnitOperation.php.

References $description.

117  : string
118  {
119  return $this->description;
120  }

◆ getListOrder()

ilOrgUnitOperation::getListOrder ( )

Definition at line 127 of file class.ilOrgUnitOperation.php.

References $list_order.

127  : int
128  {
129  return $this->list_order;
130  }

◆ getOperationId()

ilOrgUnitOperation::getOperationId ( )

Definition at line 97 of file class.ilOrgUnitOperation.php.

References $operation_id.

97  : ?int
98  {
99  return $this->operation_id;
100  }

◆ getOperationString()

ilOrgUnitOperation::getOperationString ( )

Definition at line 107 of file class.ilOrgUnitOperation.php.

References $operation_string.

Referenced by create().

107  : string
108  {
110  }
+ Here is the caller graph for this function:

◆ returnDbTableName()

static ilOrgUnitOperation::returnDbTableName ( )
static

Definition at line 147 of file class.ilOrgUnitOperation.php.

147  : string
148  {
149  return 'il_orgu_operations';
150  }

◆ setContextId()

ilOrgUnitOperation::setContextId ( int  $context_id)

Definition at line 142 of file class.ilOrgUnitOperation.php.

References $context_id.

142  : void
143  {
144  $this->context_id = $context_id;
145  }

◆ setDescription()

ilOrgUnitOperation::setDescription ( string  $description)

Definition at line 122 of file class.ilOrgUnitOperation.php.

References $description.

122  : void
123  {
124  $this->description = $description;
125  }

◆ setListOrder()

ilOrgUnitOperation::setListOrder ( int  $list_order)

Definition at line 132 of file class.ilOrgUnitOperation.php.

References $list_order.

132  : void
133  {
134  $this->list_order = $list_order;
135  }

◆ setOperationId()

ilOrgUnitOperation::setOperationId ( int  $operation_id)

Definition at line 102 of file class.ilOrgUnitOperation.php.

References $operation_id.

102  : void
103  {
104  $this->operation_id = $operation_id;
105  }

◆ setOperationString()

ilOrgUnitOperation::setOperationString ( string  $operation_string)

Definition at line 112 of file class.ilOrgUnitOperation.php.

References $operation_string.

112  : void
113  {
114  $this->operation_string = $operation_string;
115  }

Field Documentation

◆ $context_id

int ilOrgUnitOperation::$context_id = 0
protected

Definition at line 83 of file class.ilOrgUnitOperation.php.

Referenced by getContextId(), and setContextId().

◆ $description

string ilOrgUnitOperation::$description = ''
protected

Definition at line 67 of file class.ilOrgUnitOperation.php.

Referenced by getDescription(), and setDescription().

◆ $list_order

int ilOrgUnitOperation::$list_order = 0
protected

Definition at line 75 of file class.ilOrgUnitOperation.php.

Referenced by getListOrder(), and setListOrder().

◆ $operation_id

int ilOrgUnitOperation::$operation_id = 0
protected

Definition at line 52 of file class.ilOrgUnitOperation.php.

Referenced by getOperationId(), and setOperationId().

◆ $operation_string

string ilOrgUnitOperation::$operation_string = ''
protected

Definition at line 60 of file class.ilOrgUnitOperation.php.

Referenced by getOperationString(), and setOperationString().

◆ OP_ACCESS_ENROLMENTS

const ilOrgUnitOperation::OP_ACCESS_ENROLMENTS = 'access_enrolments'

Definition at line 30 of file class.ilOrgUnitOperation.php.

◆ OP_ACCESS_RESULTS

const ilOrgUnitOperation::OP_ACCESS_RESULTS = 'access_results'

◆ OP_CREATE_EMPLOYEE_TALK

const ilOrgUnitOperation::OP_CREATE_EMPLOYEE_TALK = 'create_employee_talk'

◆ OP_EDIT_EMPLOYEE_TALK

const ilOrgUnitOperation::OP_EDIT_EMPLOYEE_TALK = 'edit_employee_talk'

◆ OP_EDIT_INDIVIDUAL_PLAN

◆ OP_EDIT_SUBMISSION_GRADES

const ilOrgUnitOperation::OP_EDIT_SUBMISSION_GRADES = 'edit_submissions_grades'

Definition at line 27 of file class.ilOrgUnitOperation.php.

◆ OP_EDIT_USER_ACCOUNTS

const ilOrgUnitOperation::OP_EDIT_USER_ACCOUNTS = 'edit_user_accounts'

Definition at line 35 of file class.ilOrgUnitOperation.php.

◆ OP_MANAGE_MEMBERS

◆ OP_MANAGE_PARTICIPANTS

const ilOrgUnitOperation::OP_MANAGE_PARTICIPANTS = 'manage_participants'

◆ OP_READ_EMPLOYEE_TALK

const ilOrgUnitOperation::OP_READ_EMPLOYEE_TALK = 'read_employee_talk'

◆ OP_READ_LEARNING_PROGRESS

◆ OP_SCORE_PARTICIPANTS

const ilOrgUnitOperation::OP_SCORE_PARTICIPANTS = 'score_participants'

◆ OP_VIEW_CERTIFICATES

const ilOrgUnitOperation::OP_VIEW_CERTIFICATES = 'view_certificates'

◆ OP_VIEW_COMPETENCES

const ilOrgUnitOperation::OP_VIEW_COMPETENCES = 'view_competences'

◆ OP_VIEW_INDIVIDUAL_PLAN

const ilOrgUnitOperation::OP_VIEW_INDIVIDUAL_PLAN = 'view_individual_plan'

◆ OP_VIEW_MEMBERS

const ilOrgUnitOperation::OP_VIEW_MEMBERS = 'view_members'

◆ OP_WRITE_LEARNING_PROGRESS

const ilOrgUnitOperation::OP_WRITE_LEARNING_PROGRESS = 'write_learning_progress'

Definition at line 26 of file class.ilOrgUnitOperation.php.


The documentation for this class was generated from the following file: