ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)
 
 getIconSrc ()
 

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.

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 $this->id = (int) $a_id;
62 if ($a_id) {
63 $this->read();
64 }
65 $this->irss = $DIC['resource_storage'];
66 }
read()
Read object data from database.
global $DIC
Definition: shib_login.php:26

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

+ 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 597 of file class.ilOrgUnitType.php.

597 : array
598 {
599 return iterator_to_array($this->component_factory->getActivePluginsInSlot("orgutypehk"));
600 }

Referenced by updateable().

+ 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.

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 }

References $DIC, $ilDB, and TABLE_NAME.

Referenced by ilOrgUnitTypeGUI\getTableDataRetrieval().

+ 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 358 of file class.ilOrgUnitType.php.

358 : array
359 {
360 $active = ($a_only_active) ? 1 : 0; // Cache key
361 if (isset($this->amd_records_assigned[$active])) {
362 return $this->amd_records_assigned[$active];
363 }
364 $this->amd_records_assigned[$active] = [];
365 $sql = 'SELECT * FROM orgu_types_adv_md_rec WHERE type_id = ' . $this->db->quote($this->getId(), 'integer');
366 $set = $this->db->query($sql);
367 while ($rec = $this->db->fetchObject($set)) {
368 $amd_record = new ilAdvancedMDRecord((int) $rec->rec_id);
369 if ($a_only_active) {
370 if ($amd_record->isActive()) {
371 $this->amd_records_assigned[1][] = $amd_record;
372 }
373 } else {
374 $this->amd_records_assigned[0][] = $amd_record;
375 }
376 }
377
378 return $this->amd_records_assigned[$active];
379 }

References getId().

+ 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 401 of file class.ilOrgUnitType.php.

401 : array
402 {
403 if (is_array(self::$amd_records_available)) {
405 }
406 self::$amd_records_available = ilAdvancedMDRecord::_getActivatedRecordsByObjectType('orgu', 'orgu_type');
407
409 }
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
static array $amd_records_available

References $amd_records_available, and ilAdvancedMDRecord\_getActivatedRecordsByObjectType().

Referenced by ilOrgUnitTypeGUI\getAvailableAMDRecords().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCreateDate()

ilOrgUnitType::getCreateDate ( )

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

771 : string
772 {
773 return $this->create_date;
774 }

References $create_date.

◆ getDefaultLang()

ilOrgUnitType::getDefaultLang ( )

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

761 : string
762 {
763 return $this->default_lang;
764 }

References $default_lang.

Referenced by ilOrgUnitTypeGUI\getEditForm(), ilOrgUnitTypeGUI\getTableDataRetrieval(), getTranslation(), setDescription(), and setTitle().

+ 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.

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

277 : ?string
278 {
279 return $this->getTranslation('description', $a_lang_code);
280 }
getTranslation(string $a_member, string $a_lang_code)
Protected.

References getTranslation().

Referenced by ilOrgUnitTypeGUI\getEditForm(), and ilOrgUnitTypeGUI\getTableDataRetrieval().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getIconIdentifier()

ilOrgUnitType::getIconIdentifier ( )

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

724 : string
725 {
726 return $this->icon;
727 }

References $icon.

Referenced by getIconSrc(), and ilOrgUnitTypeGUI\getTableDataRetrieval().

+ Here is the caller graph for this function:

◆ getIconSrc()

ilOrgUnitType::getIconSrc ( )

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

783 : string
784 {
785 $rid = $this->irss->manage()->find($this->getIconIdentifier());
786 if (!$rid) {
787 return '';
788 }
789 return $this->irss->consume()->src($rid)->getSrc();
790 }

References getIconIdentifier().

Referenced by ilOrgUnitTypeGUI\getTableDataRetrieval().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getId()

ilOrgUnitType::getId ( )

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

712 : int
713 {
714 return $this->id;
715 }

References $id.

Referenced by getAssignedAdvancedMDRecords(), ilOrgUnitTypeGUI\getEditForm(), getOrgUnitIds(), ilOrgUnitTypeGUI\getTableDataRetrieval(), loadTranslation(), and save().

+ 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.

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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References Vendor\Package\$e.

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

+ Here is the caller graph for this function:

◆ getLastUpdate()

ilOrgUnitType::getLastUpdate ( )

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

707 : string
708 {
709 return $this->last_update;
710 }

References $last_update.

◆ getOrgUnitIds()

ilOrgUnitType::getOrgUnitIds ( bool  $include_deleted = true)

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

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

295 : array
296 {
297 $cache_key = ($include_deleted) ? 1 : 0;
298
299 if (array_key_exists($cache_key, $this->orgus_ids)
300 && is_array($this->orgus_ids[$cache_key])
301 ) {
302 return $this->orgus_ids[$cache_key];
303 }
304 if ($include_deleted) {
305 $sql = 'SELECT * FROM orgu_data WHERE orgu_type_id = ' . $this->db->quote($this->getId(), 'integer');
306 } else {
307 $sql
308 = 'SELECT DISTINCT orgu_id FROM orgu_data od ' . 'JOIN object_reference oref ON oref.obj_id = od.orgu_id ' . 'WHERE od.orgu_type_id = '
309 . $this->db->quote($this->getId(), 'integer') . ' AND oref.deleted IS NULL';
310 }
311 $set = $this->db->query($sql);
312 $this->orgus_ids[$cache_key] = array();
313 while ($rec = $this->db->fetchObject($set)) {
314 $this->orgus_ids[$cache_key][] = $rec->orgu_id;
315 }
316
317 return $this->orgus_ids[$cache_key];
318 }

References getId().

Referenced by getOrgUnits().

+ 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 325 of file class.ilOrgUnitType.php.

325 : array
326 {
327 $cache_key = ($include_deleted) ? 1 : 0;
328
329 if (array_key_exists($cache_key, $this->orgus)
330 && is_array($this->orgus[$cache_key])
331 ) {
332 return $this->orgus[$cache_key];
333 }
334 $this->orgus[$cache_key] = array();
335 $ids = $this->getOrgUnitIds($include_deleted);
336 foreach ($ids as $id) {
337 $orgu = new ilObjOrgUnit($id, false);
338 if (!$include_deleted) {
339 // Check if OrgUnit is in trash (each OrgUnit does only have one reference)
341 $ref_ids = array_values($ref_ids);
342 $ref_id = $ref_ids[0];
344 continue;
345 }
346 }
347 $this->orgus[$cache_key][] = $orgu;
348 }
349
350 return $this->orgus[$cache_key];
351 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getAllReferences(int $id)
get all reference ids for object ID
static _isInTrash(int $ref_id)
getOrgUnitIds(bool $include_deleted=true)
Get an array of IDs of ilObjOrgUnit objects using this type.
$ref_id
Definition: ltiauth.php:66

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

+ Here is the call graph for this function:

◆ getOwner()

ilOrgUnitType::getOwner ( )

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

697 : int
698 {
699 return $this->owner;
700 }

References $owner.

◆ 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 empty string.

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

257 : string
258 {
259 return $this->getTranslation('title', $a_lang_code) ?? '';
260 }

References getTranslation().

Referenced by ilOrgUnitTypeGUI\getEditForm(), and ilOrgUnitTypeGUI\getTableDataRetrieval().

+ Here is the call graph for this function:
+ Here is the caller 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

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

510 : ?string
511 {
512 $lang = ($a_lang_code) ? $a_lang_code : $this->user->getLanguage();
513 $trans_obj = $this->loadTranslation($lang);
514 if (!is_null($trans_obj)) {
515 $translation = $trans_obj->getMember($a_member);
516 // If the translation does exist but is an empty string and there was no lang code given,
517 // substitute default language anyway because an empty string provides no information
518 if (!$a_lang_code && !$translation) {
519 $trans_obj = $this->loadTranslation($this->getDefaultLang());
520
521 return $trans_obj->getMember($a_member);
522 }
523
524 return $translation;
525 } else {
526 // If no lang code was given and there was no translation found, return string in default language
527 if (!$a_lang_code) {
528 $trans_obj = $this->loadTranslation($this->getDefaultLang());
529
530 return $trans_obj->getMember($a_member);
531 }
532
533 return null;
534 }
535 }
loadTranslation(string $a_lang_code)
Helper function to load a translation.
$lang
Definition: xapiexit.php:25

References $lang, getDefaultLang(), loadTranslation(), and ILIAS\Repository\user().

Referenced by getDescription(), and getTitle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTranslations()

ilOrgUnitType::getTranslations ( )

Returns the loaded translation objects.

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

673 : array
674 {
675 return $this->translations;
676 }

References $translations.

◆ 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 608 of file class.ilOrgUnitType.php.

609 {
610 if (isset($this->translations[$a_lang_code])) {
611 return $this->translations[$a_lang_code];
612 } else {
613 $trans_obj = ilOrgUnitTypeTranslation::getInstance($this->getId(), $a_lang_code);
614 if (!is_null($trans_obj)) {
615 $this->translations[$a_lang_code] = $trans_obj;
616
617 return $trans_obj;
618 }
619 }
620
621 return null;
622 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstance(int $a_orgu_type_id, string $a_lang_code)
Get instance of an ilOrgUnitType object Returns object from cache or from database,...

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

Referenced by getTranslation().

+ 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 628 of file class.ilOrgUnitType.php.

628 : void
629 {
630 $sql = 'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->db->quote($this->id, 'integer');
631 $set = $this->db->query($sql);
632 if (!$this->db->numRows($set)) {
633 throw new ilOrgUnitTypeException("OrgUnit type with id {$this->id} does not exist in database");
634 }
635 $rec = $this->db->fetchObject($set);
636 $this->default_lang = $rec->default_lang; // Don't use Setter because of unnecessary plugin checks
637 $this->setCreateDate($rec->create_date);
638 $this->setLastUpdate($rec->last_update);
639 $this->setOwner($rec->owner);
640 $this->icon = $rec->icon ?? '';
641 }
setLastUpdate(string $last_update)
setCreateDate(string $create_date)

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

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeIconFromIrss()

ilOrgUnitType::removeIconFromIrss ( string  $identifier)

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

776 : void
777 {
778 if ($rid = $this->irss->manage()->find($identifier)) {
779 $this->irss->manage()->remove($rid, new ilOrgUnitTypeStakeholder());
780 }
781 }

◆ save()

ilOrgUnitType::save ( )

Wrapper around create() and update() methods.

Exceptions
ilOrgUnitTypePluginException

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

188 : void
189 {
190 if ($this->getId() > 0) {
191 $this->update();
192 } else {
193 $this->create();
194 }
195 }

References getId().

Referenced by ilOrgUnitTypeGUI\update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCreateDate()

ilOrgUnitType::setCreateDate ( string  $create_date)

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

767 {
768 $this->create_date = $create_date;
769 }

References $create_date.

Referenced by read().

+ 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.

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

286 : void
287 {
288 $lang = ($a_lang_code) ? $a_lang_code : $this->getDefaultLang();
289 $this->setTranslation('description', $a_description, $lang);
290 }

References $lang, and getDefaultLang().

Referenced by ilOrgUnitTypeGUI\getEditForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setLastUpdate()

ilOrgUnitType::setLastUpdate ( string  $last_update)

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

703 {
704 $this->last_update = $last_update;
705 }

References $last_update.

Referenced by read().

+ Here is the caller graph for this function:

◆ setOwner()

ilOrgUnitType::setOwner ( int  $owner)

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

693 {
694 $this->owner = $owner;
695 }

References $owner.

Referenced by read().

+ 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.

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

267 {
268 $lang = ($a_lang_code) ? $a_lang_code : $this->getDefaultLang();
269 $this->setTranslation('title', $a_title, $lang);
270 }

References $lang, and getDefaultLang().

Referenced by ilOrgUnitTypeGUI\getEditForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTranslations()

ilOrgUnitType::setTranslations ( array  $translations)

Getters & Setters.

Parameters
string[]$translations

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

666 {
667 $this->translations = $translations;
668 }

References $translations.

◆ updateable()

ilOrgUnitType::updateable ( )
protected

Helper function to check if this type can be updated.

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

646 : bool
647 {
648 foreach ($this->getActivePlugins() as $plugin) {
649 if (!$plugin->allowUpdate($this->getId())) {
650 return false;
651 }
652 }
653
654 return true;
655 }
getActivePlugins()
Get array of all acitve plugins for the ilOrgUnitTypeHook plugin slot.

References XapiProxy\$plugin, and getActivePlugins().

+ Here is the call graph for this function:

◆ withIconIdentifier()

ilOrgUnitType::withIconIdentifier ( string  $identifier)

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

717 : self
718 {
719 $clone = clone $this;
720 $clone->icon = $identifier;
721 return $clone;
722 }

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.

Referenced by getAvailableAdvancedMDRecords().

◆ $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().

◆ $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(), and getOrgUnits().

◆ $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.

Referenced by getAllTypes().


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