ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilOrgUnitType Class Reference

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

+ Collaboration diagram for ilOrgUnitType:

Public Member Functions

 __construct (int $a_id=0)
 
 save ()
 Wrapper around create() and update() methods. More...
 
 getTitle (string $a_lang_code='')
 Get the title of an OrgUnit type. More...
 
 setTitle (string $a_title, string $a_lang_code='')
 Set title of OrgUnit type. More...
 
 getDescription (string $a_lang_code='')
 Get the description of an OrgUnit type. More...
 
 setDescription (string $a_description, string $a_lang_code='')
 Set description of OrgUnit type. More...
 
 getOrgUnitIds (bool $include_deleted=true)
 Get an array of IDs of ilObjOrgUnit objects using this type. More...
 
 getOrgUnits (bool $include_deleted=true)
 Get an array of ilObjOrgUnit objects using this type. More...
 
 getAssignedAdvancedMDRecords (bool $a_only_active=false)
 Get assigned AdvancedMDRecord objects. More...
 
 getActivePlugins ()
 Get array of all acitve plugins for the ilOrgUnitTypeHook plugin slot. More...
 
 setTranslations (array $translations)
 Getters & Setters. More...
 
 getTranslations ()
 Returns the loaded translation objects. More...
 
 setOwner (int $owner)
 
 getOwner ()
 
 setLastUpdate (string $last_update)
 
 getLastUpdate ()
 
 getId ()
 
 withIconIdentifier (string $identifier)
 
 getIconIdentifier ()
 
 getDefaultLang ()
 
 setCreateDate (string $create_date)
 
 getCreateDate ()
 
 removeIconFromIrss (string $identifier)
 

Static Public Member Functions

static getInstance (int $a_id)
 Get instance of an ilOrgUnitType object Returns object from cache or from database, returns null if no object was found. More...
 
static getAllTypes ()
 Get array of all instances of ilOrgUnitType objects. More...
 
static getAvailableAdvancedMDRecords ()
 Get all available AdvancedMDRecord objects for OrgUnits/Types. More...
 

Data Fields

const TABLE_NAME = 'orgu_types'
 

Protected Member Functions

 getTranslation (string $a_member, string $a_lang_code)
 Protected. More...
 
 loadTranslation (string $a_lang_code)
 Helper function to load a translation. More...
 
 read ()
 Read object data from database. More...
 
 updateable ()
 Helper function to check if this type can be updated. More...
 

Protected Attributes

int $id = 0
 
string $default_lang = ''
 
int $owner
 
string $create_date
 
string $last_update
 
string $icon = ''
 
array $translations = array()
 
array $amd_records_assigned
 
array $orgus = []
 
array $orgus_ids = []
 
ilDBInterface $db
 
ILIAS DI LoggingServices $log
 
ilObjUser $user
 
array $active_plugins
 
ilLanguage $lng
 
ilComponentFactory $component_factory
 
IRSS $irss
 

Static Protected Attributes

static array $amd_records_available = null
 
static array $instances = array()
 

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 ilOrgUnitType

Author
: Stefan Wanzenried sw@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

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

Constructor & Destructor Documentation

◆ __construct()

ilOrgUnitType::__construct ( int  $a_id = 0)
Exceptions
ilOrgUnitTypeException

Definition at line 53 of file class.ilOrgUnitType.php.

References $DIC, ILIAS\Repository\int(), ILIAS\Repository\lng(), read(), and ILIAS\Repository\user().

54  {
55  global $DIC;
56  $this->component_factory = $DIC['component.factory'];
57  $this->db = $DIC->database();
58  $this->log = $DIC->logger();
59  $this->user = $DIC->user();
60  $this->lng = $DIC->language();
61  if ($a_id) {
62  $this->id = (int) $a_id;
63  $this->read();
64  }
65  $this->irss = $DIC['resource_storage'];
66  }
read()
Read object data from database.
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ getActivePlugins()

ilOrgUnitType::getActivePlugins ( )

Get array of all acitve plugins for the ilOrgUnitTypeHook plugin slot.

Returns
array

Definition at line 614 of file class.ilOrgUnitType.php.

Referenced by getAllTypes(), getAvailableAdvancedMDRecords(), getIconIdentifier(), getTranslation(), save(), and updateable().

614  : array
615  {
616  return iterator_to_array($this->component_factory->getActivePluginsInSlot("orgutypehk"));
617  }
+ Here is the caller graph for this function:

◆ getAllTypes()

static ilOrgUnitType::getAllTypes ( )
static

Get array of all instances of ilOrgUnitType objects.

Definition at line 96 of file class.ilOrgUnitType.php.

References $DIC, $ilDB, $lang, XapiProxy\$plugin, getActivePlugins(), getDefaultLang(), getIconIdentifier(), getId(), getOwner(), getTranslation(), ILIAS\Repository\lng(), and ILIAS\Repository\user().

Referenced by ilOrgUnitTypeTableGUI\initColumns(), and ilObjOrgUnitSettingsFormGUI\saveObject().

96  : array
97  {
98  global $DIC;
99  $ilDB = $DIC['ilDB'];
100  $sql = 'SELECT id FROM ' . self::TABLE_NAME;
101  $set = $ilDB->query($sql);
102  $types = array();
103  while ($rec = $ilDB->fetchObject($set)) {
104  $type = new self($rec->id);
105  $types[] = $type;
106  self::$instances[$rec->id] = $type;
107  }
108 
109  return $types;
110  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAssignedAdvancedMDRecords()

ilOrgUnitType::getAssignedAdvancedMDRecords ( bool  $a_only_active = false)

Get assigned AdvancedMDRecord objects.

Parameters
bool$a_only_activeTrue if only active AMDRecords are returned
Returns
ilAdvancedMDRecord[]

Definition at line 368 of file class.ilOrgUnitType.php.

References getId().

368  : array
369  {
370  $active = ($a_only_active) ? 1 : 0; // Cache key
371  if (isset($this->amd_records_assigned[$active])) {
372  return $this->amd_records_assigned[$active];
373  }
374  $this->amd_records_assigned[$active] = [];
375  $sql = 'SELECT * FROM orgu_types_adv_md_rec WHERE type_id = ' . $this->db->quote($this->getId(), 'integer');
376  $set = $this->db->query($sql);
377  while ($rec = $this->db->fetchObject($set)) {
378  $amd_record = new ilAdvancedMDRecord((int) $rec->rec_id);
379  if ($a_only_active) {
380  if ($amd_record->isActive()) {
381  $this->amd_records_assigned[1][] = $amd_record;
382  }
383  } else {
384  $this->amd_records_assigned[0][] = $amd_record;
385  }
386  }
387 
388  return $this->amd_records_assigned[$active];
389  }
+ Here is the call graph for this function:

◆ getAvailableAdvancedMDRecords()

static ilOrgUnitType::getAvailableAdvancedMDRecords ( )
static

Get all available AdvancedMDRecord objects for OrgUnits/Types.

Returns
ilAdvancedMDRecord[]

Definition at line 411 of file class.ilOrgUnitType.php.

References ILIAS\LTI\ToolProvider\$key, XapiProxy\$plugin, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), getActivePlugins(), getId(), getOrgUnitIds(), ILIAS\Repository\lng(), and ilAdvancedMDRecord\saveObjRecSelection().

Referenced by ilOrgUnitTypeGUI\getAvailableAMDRecords().

411  : array
412  {
413  if (is_array(self::$amd_records_available)) {
414  return self::$amd_records_available;
415  }
416  self::$amd_records_available = ilAdvancedMDRecord::_getActivatedRecordsByObjectType('orgu', 'orgu_type');
417 
418  return self::$amd_records_available;
419  }
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCreateDate()

ilOrgUnitType::getCreateDate ( )

Definition at line 792 of file class.ilOrgUnitType.php.

References $create_date.

792  : string
793  {
794  return $this->create_date;
795  }

◆ getDefaultLang()

ilOrgUnitType::getDefaultLang ( )

Definition at line 782 of file class.ilOrgUnitType.php.

References $default_lang.

Referenced by getAllTypes(), getTranslation(), setDescription(), and setTitle().

782  : string
783  {
784  return $this->default_lang;
785  }
+ Here is the caller graph for this function:

◆ getDescription()

ilOrgUnitType::getDescription ( string  $a_lang_code = '')

Get the description of an OrgUnit type.

If no language code is given, a translation in the user-language is returned. If no such translation exists, the description of the default language is substituted. If a language code is provided, returns description for the given language or null.

Parameters
string$a_lang_code
Returns
null|string

Definition at line 283 of file class.ilOrgUnitType.php.

References getTranslation().

283  : ?string
284  {
285  return $this->getTranslation('description', $a_lang_code);
286  }
getTranslation(string $a_member, string $a_lang_code)
Protected.
+ Here is the call graph for this function:

◆ getIconIdentifier()

ilOrgUnitType::getIconIdentifier ( )

Definition at line 744 of file class.ilOrgUnitType.php.

References $default_lang, $icon, XapiProxy\$plugin, getActivePlugins(), and ILIAS\Repository\lng().

Referenced by getAllTypes(), and save().

744  : string
745  {
746  return $this->icon;
747  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getId()

ilOrgUnitType::getId ( )

Definition at line 732 of file class.ilOrgUnitType.php.

References $id.

Referenced by getAllTypes(), getAssignedAdvancedMDRecords(), getAvailableAdvancedMDRecords(), getOrgUnitIds(), getTranslation(), getTranslations(), loadTranslation(), and save().

732  : int
733  {
734  return $this->id;
735  }
+ Here is the caller graph for this function:

◆ getInstance()

static ilOrgUnitType::getInstance ( int  $a_id)
static

Get instance of an ilOrgUnitType object Returns object from cache or from database, returns null if no object was found.

Parameters
int$a_idID of the OrgUnit type
Returns
ilOrgUnitType|null

Definition at line 74 of file class.ilOrgUnitType.php.

References Vendor\Package\$e.

Referenced by ilObjOrgUnit\getIconsCache(), ilObjOrgUnit\getOrgUnitType(), and ilModulesOrgUnitTest\testIfOrgUnitHasRequiredLocalRoles().

74  : ?ilOrgUnitType
75  {
76  if (!$a_id) {
77  return null;
78  }
79  if (isset(self::$instances[$a_id])) {
80  return self::$instances[$a_id];
81  } else {
82  try {
83  $type = new self($a_id);
84  self::$instances[$a_id] = $type;
85 
86  return $type;
87  } catch (ilOrgUnitTypeException $e) {
88  return null;
89  }
90  }
91  }
Class ilOrgUnitTypeException.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ getLastUpdate()

ilOrgUnitType::getLastUpdate ( )

Definition at line 727 of file class.ilOrgUnitType.php.

References $last_update.

727  : string
728  {
729  return $this->last_update;
730  }

◆ getOrgUnitIds()

ilOrgUnitType::getOrgUnitIds ( bool  $include_deleted = true)

Get an array of IDs of ilObjOrgUnit objects using this type.

Parameters
bool$include_deleted
Returns
array

Definition at line 305 of file class.ilOrgUnitType.php.

References getId().

Referenced by getAvailableAdvancedMDRecords(), and getOrgUnits().

305  : array
306  {
307  $cache_key = ($include_deleted) ? 1 : 0;
308 
309  if (array_key_exists($cache_key, $this->orgus_ids)
310  && is_array($this->orgus_ids[$cache_key])
311  ) {
312  return $this->orgus_ids[$cache_key];
313  }
314  if ($include_deleted) {
315  $sql = 'SELECT * FROM orgu_data WHERE orgu_type_id = ' . $this->db->quote($this->getId(), 'integer');
316  } else {
317  $sql
318  = 'SELECT DISTINCT orgu_id FROM orgu_data od ' . 'JOIN object_reference oref ON oref.obj_id = od.orgu_id ' . 'WHERE od.orgu_type_id = '
319  . $this->db->quote($this->getId(), 'integer') . ' AND oref.deleted IS NULL';
320  }
321  $set = $this->db->query($sql);
322  $this->orgus_ids[$cache_key] = array();
323  while ($rec = $this->db->fetchObject($set)) {
324  $this->orgus_ids[$cache_key][] = $rec->orgu_id;
325  }
326 
327  return $this->orgus_ids[$cache_key];
328  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOrgUnits()

ilOrgUnitType::getOrgUnits ( bool  $include_deleted = true)

Get an array of ilObjOrgUnit objects using this type.

Parameters
bool$include_deletedTrue if also deleted OrgUnits are returned
Returns
int[]

Definition at line 335 of file class.ilOrgUnitType.php.

References $ref_id, ilObject\_getAllReferences(), ilObject\_isInTrash(), and getOrgUnitIds().

Referenced by save().

335  : array
336  {
337  $cache_key = ($include_deleted) ? 1 : 0;
338 
339  if (array_key_exists($cache_key, $this->orgus)
340  && is_array($this->orgus[$cache_key])
341  ) {
342  return $this->orgus[$cache_key];
343  }
344  $this->orgus[$cache_key] = array();
345  $ids = $this->getOrgUnitIds($include_deleted);
346  foreach ($ids as $id) {
347  $orgu = new ilObjOrgUnit($id, false);
348  if (!$include_deleted) {
349  // Check if OrgUnit is in trash (each OrgUnit does only have one reference)
350  $ref_ids = ilObject::_getAllReferences($id);
351  $ref_ids = array_values($ref_ids);
352  $ref_id = $ref_ids[0];
354  continue;
355  }
356  }
357  $this->orgus[$cache_key][] = $orgu;
358  }
359 
360  return $this->orgus[$cache_key];
361  }
static _getAllReferences(int $id)
get all reference ids for object ID
$ref_id
Definition: ltiauth.php:67
getOrgUnitIds(bool $include_deleted=true)
Get an array of IDs of ilObjOrgUnit objects using this type.
static _isInTrash(int $ref_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOwner()

ilOrgUnitType::getOwner ( )

Definition at line 717 of file class.ilOrgUnitType.php.

References $owner.

Referenced by getAllTypes().

717  : int
718  {
719  return $this->owner;
720  }
+ Here is the caller graph for this function:

◆ getTitle()

ilOrgUnitType::getTitle ( string  $a_lang_code = '')

Get the title of an OrgUnit type.

If no language code is given, a translation in the user-language is returned. If no such translation exists, the translation of the default language is substituted. If a language code is provided, returns title for the given language or null.

Parameters
string$a_lang_code
Returns
null|string

Definition at line 259 of file class.ilOrgUnitType.php.

References getTranslation().

259  : ?string
260  {
261  return $this->getTranslation('title', $a_lang_code);
262  }
getTranslation(string $a_member, string $a_lang_code)
Protected.
+ Here is the call graph for this function:

◆ getTranslation()

ilOrgUnitType::getTranslation ( string  $a_member,
string  $a_lang_code 
)
protected

Protected.

Helper method to return a translation for a given member and language

Parameters
$a_member
$a_lang_code
Returns
null|string

Definition at line 524 of file class.ilOrgUnitType.php.

References $lang, XapiProxy\$plugin, getActivePlugins(), getDefaultLang(), getId(), ILIAS\Repository\lng(), loadTranslation(), and ILIAS\Repository\user().

Referenced by getAllTypes(), getDescription(), and getTitle().

524  : ?string
525  {
526  $lang = ($a_lang_code) ? $a_lang_code : $this->user->getLanguage();
527  $trans_obj = $this->loadTranslation($lang);
528  if (!is_null($trans_obj)) {
529  $translation = $trans_obj->getMember($a_member);
530  // If the translation does exist but is an empty string and there was no lang code given,
531  // substitute default language anyway because an empty string provides no information
532  if (!$a_lang_code && !$translation) {
533  $trans_obj = $this->loadTranslation($this->getDefaultLang());
534 
535  return $trans_obj->getMember($a_member);
536  }
537 
538  return $translation;
539  } else {
540  // If no lang code was given and there was no translation found, return string in default language
541  if (!$a_lang_code) {
542  $trans_obj = $this->loadTranslation($this->getDefaultLang());
543 
544  return $trans_obj->getMember($a_member);
545  }
546 
547  return null;
548  }
549  }
loadTranslation(string $a_lang_code)
Helper function to load a translation.
$lang
Definition: xapiexit.php:26
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTranslations()

ilOrgUnitType::getTranslations ( )

Returns the loaded translation objects.

Returns
array

Definition at line 692 of file class.ilOrgUnitType.php.

References $translations, and getId().

692  : array
693  {
694  return $this->translations;
695  }
+ Here is the call graph for this function:

◆ loadTranslation()

ilOrgUnitType::loadTranslation ( string  $a_lang_code)
protected

Helper function to load a translation.

Returns translation object from cache or null, if no translation exists for the given code.

Parameters
string$a_lang_codeA language code
Returns
ilOrgUnitTypeTranslation|null

Definition at line 625 of file class.ilOrgUnitType.php.

References getId(), and ilOrgUnitTypeTranslation\getInstance().

Referenced by getTranslation().

626  {
627  if (isset($this->translations[$a_lang_code])) {
628  return $this->translations[$a_lang_code];
629  } else {
630  $trans_obj = ilOrgUnitTypeTranslation::getInstance($this->getId(), $a_lang_code);
631  if (!is_null($trans_obj)) {
632  $this->translations[$a_lang_code] = $trans_obj;
633 
634  return $trans_obj;
635  }
636  }
637 
638  return null;
639  }
static getInstance(int $a_orgu_type_id, string $a_lang_code)
Get instance of an ilOrgUnitType object Returns object from cache or from database, returns null if no object was found.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilOrgUnitType::read ( )
protected

Read object data from database.

Exceptions
ilOrgUnitTypeException

Definition at line 645 of file class.ilOrgUnitType.php.

References setCreateDate(), setLastUpdate(), and setOwner().

Referenced by __construct().

645  : void
646  {
647  $sql = 'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->db->quote($this->id, 'integer');
648  $set = $this->db->query($sql);
649  if (!$this->db->numRows($set)) {
650  throw new ilOrgUnitTypeException("OrgUnit type with id {$this->id} does not exist in database");
651  }
652  $rec = $this->db->fetchObject($set);
653  $this->default_lang = $rec->default_lang; // Don't use Setter because of unnecessary plugin checks
654  $this->setCreateDate($rec->create_date);
655  $this->setLastUpdate($rec->last_update);
656  $this->setOwner($rec->owner);
657  $this->icon = $rec->icon ?? '';
658  }
Class ilOrgUnitTypeException.
setCreateDate(string $create_date)
setLastUpdate(string $last_update)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeIconFromIrss()

ilOrgUnitType::removeIconFromIrss ( string  $identifier)

Definition at line 797 of file class.ilOrgUnitType.php.

Referenced by save().

797  : void
798  {
799  if($rid = $this->irss->manage()->find($identifier)) {
800  $this->irss->manage()->remove($rid, new ilOrgUnitTypeStakeholder());
801  }
802  }
+ Here is the caller graph for this function:

◆ save()

ilOrgUnitType::save ( )

Wrapper around create() and update() methods.

Exceptions
ilOrgUnitTypePluginException

Definition at line 188 of file class.ilOrgUnitType.php.

References XapiProxy\$plugin, getActivePlugins(), getIconIdentifier(), getId(), getOrgUnits(), ILIAS\Repository\lng(), and removeIconFromIrss().

188  : void
189  {
190  if ($this->getId()) {
191  $this->update();
192  } else {
193  $this->create();
194  }
195  }
+ Here is the call graph for this function:

◆ setCreateDate()

ilOrgUnitType::setCreateDate ( string  $create_date)

Definition at line 787 of file class.ilOrgUnitType.php.

References $create_date.

Referenced by read().

788  {
789  $this->create_date = $create_date;
790  }
+ Here is the caller graph for this function:

◆ setDescription()

ilOrgUnitType::setDescription ( string  $a_description,
string  $a_lang_code = '' 
)

Set description of OrgUnit type.

If no lang code is given, sets description for default language.

Parameters
$a_description
string$a_lang_code

Definition at line 294 of file class.ilOrgUnitType.php.

References $lang, and getDefaultLang().

294  : void
295  {
296  $lang = ($a_lang_code) ? $a_lang_code : $this->getDefaultLang();
297  $this->setTranslation('description', $a_description, $lang);
298  }
$lang
Definition: xapiexit.php:26
+ Here is the call graph for this function:

◆ setLastUpdate()

ilOrgUnitType::setLastUpdate ( string  $last_update)

Definition at line 722 of file class.ilOrgUnitType.php.

References $last_update.

Referenced by read().

723  {
724  $this->last_update = $last_update;
725  }
+ Here is the caller graph for this function:

◆ setOwner()

ilOrgUnitType::setOwner ( int  $owner)

Definition at line 712 of file class.ilOrgUnitType.php.

References $owner.

Referenced by read().

713  {
714  $this->owner = $owner;
715  }
+ Here is the caller graph for this function:

◆ setTitle()

ilOrgUnitType::setTitle ( string  $a_title,
string  $a_lang_code = '' 
)

Set title of OrgUnit type.

If no lang code is given, sets title for default language.

Parameters
$a_title
string$a_lang_code

Definition at line 270 of file class.ilOrgUnitType.php.

References $lang, and getDefaultLang().

271  {
272  $lang = ($a_lang_code) ? $a_lang_code : $this->getDefaultLang();
273  $this->setTranslation('title', $a_title, $lang);
274  }
$lang
Definition: xapiexit.php:26
+ Here is the call graph for this function:

◆ setTranslations()

ilOrgUnitType::setTranslations ( array  $translations)

Getters & Setters.

Parameters
string[]$translations

Definition at line 683 of file class.ilOrgUnitType.php.

References $translations.

684  {
685  $this->translations = $translations;
686  }

◆ updateable()

ilOrgUnitType::updateable ( )
protected

Helper function to check if this type can be updated.

Returns
bool

Definition at line 664 of file class.ilOrgUnitType.php.

References XapiProxy\$plugin, and getActivePlugins().

664  : bool
665  {
666  foreach ($this->getActivePlugins() as $plugin) {
667  if (!$plugin->allowUpdate($this->getId())) {
668  return false;
669  }
670  }
671 
672  return true;
673  }
getActivePlugins()
Get array of all acitve plugins for the ilOrgUnitTypeHook plugin slot.
+ Here is the call graph for this function:

◆ withIconIdentifier()

ilOrgUnitType::withIconIdentifier ( string  $identifier)

Definition at line 737 of file class.ilOrgUnitType.php.

737  : self
738  {
739  $clone = clone $this;
740  $clone->icon = $identifier;
741  return $clone;
742  }

Field Documentation

◆ $active_plugins

array ilOrgUnitType::$active_plugins
protected

Definition at line 43 of file class.ilOrgUnitType.php.

◆ $amd_records_assigned

array ilOrgUnitType::$amd_records_assigned
protected

Definition at line 36 of file class.ilOrgUnitType.php.

◆ $amd_records_available

array ilOrgUnitType::$amd_records_available = null
staticprotected

Definition at line 37 of file class.ilOrgUnitType.php.

◆ $component_factory

ilComponentFactory ilOrgUnitType::$component_factory
protected

Definition at line 47 of file class.ilOrgUnitType.php.

◆ $create_date

string ilOrgUnitType::$create_date
protected

Definition at line 32 of file class.ilOrgUnitType.php.

Referenced by getCreateDate(), and setCreateDate().

◆ $db

ilDBInterface ilOrgUnitType::$db
protected

Definition at line 40 of file class.ilOrgUnitType.php.

◆ $default_lang

string ilOrgUnitType::$default_lang = ''
protected

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

Referenced by getDefaultLang(), and getIconIdentifier().

◆ $icon

string ilOrgUnitType::$icon = ''
protected

Definition at line 34 of file class.ilOrgUnitType.php.

Referenced by getIconIdentifier().

◆ $id

int ilOrgUnitType::$id = 0
protected

Definition at line 29 of file class.ilOrgUnitType.php.

Referenced by getId().

◆ $instances

array ilOrgUnitType::$instances = array()
staticprotected
Parameters
self[]

Definition at line 46 of file class.ilOrgUnitType.php.

◆ $irss

IRSS ilOrgUnitType::$irss
protected

Definition at line 48 of file class.ilOrgUnitType.php.

◆ $last_update

string ilOrgUnitType::$last_update
protected

Definition at line 33 of file class.ilOrgUnitType.php.

Referenced by getLastUpdate(), and setLastUpdate().

◆ $lng

ilLanguage ilOrgUnitType::$lng
protected

Definition at line 44 of file class.ilOrgUnitType.php.

◆ $log

ILIAS DI LoggingServices ilOrgUnitType::$log
protected

Definition at line 41 of file class.ilOrgUnitType.php.

◆ $orgus

array ilOrgUnitType::$orgus = []
protected

Definition at line 38 of file class.ilOrgUnitType.php.

◆ $orgus_ids

array ilOrgUnitType::$orgus_ids = []
protected

Definition at line 39 of file class.ilOrgUnitType.php.

◆ $owner

int ilOrgUnitType::$owner
protected

Definition at line 31 of file class.ilOrgUnitType.php.

Referenced by getOwner(), and setOwner().

◆ $translations

array ilOrgUnitType::$translations = array()
protected

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

Referenced by getTranslations(), and setTranslations().

◆ $user

ilObjUser ilOrgUnitType::$user
protected

Definition at line 42 of file class.ilOrgUnitType.php.

◆ TABLE_NAME

const ilOrgUnitType::TABLE_NAME = 'orgu_types'

Definition at line 28 of file class.ilOrgUnitType.php.


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