ILIAS  release_8 Revision v8.24
ilObjDataCollection 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 ilObjDataCollection:
+ Collaboration diagram for ilObjDataCollection:

Public Member Functions

 reorderTables (array $table_order)
 
 cloneStructure (int $original_id)
 Attention only use this for objects who have not yet been created (use like: $x = new ilObjDataCollection; $x->cloneStructure($id)) More...
 
 setOnline ($a_val)
 setOnline More...
 
 getOnline ()
 getOnline More...
 
 setRating (string $a_val)
 
 getRating ()
 
 setPublicNotes (string $a_val)
 
 getPublicNotes ()
 
 setApproval (string $a_val)
 
 getApproval ()
 
 setNotification (string $a_val)
 
 getNotification ()
 
 getTables ()
 
 getTableById (int $table_id)
 
 getVisibleTables ()
 
 getStyleSheetId ()
 
 prepareMessageText (string $body)
 
- Public Member Functions inherited from ilObject2
 __construct (int $a_id=0, bool $a_reference=true)
 Constructor. More...
 
 read ()
 
 create (bool $a_clone_mode=false)
 
 update ()
 
 delete ()
 delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More...
 
 cloneMetaData (ilObject $target_obj)
 Copy meta data. More...
 
 cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false)
 
- Public Member Functions inherited from ilObject
 __construct (int $id=0, bool $reference=true)
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 processAutoRating ()
 
 read ()
 
 getId ()
 
 setId (int $id)
 
 setRefId (int $ref_id)
 
 getRefId ()
 
 getType ()
 
 setType (string $type)
 
 getPresentationTitle ()
 get presentation title Normally same as title Overwritten for sessions More...
 
 getTitle ()
 
 getUntranslatedTitle ()
 Get untranslated object title WebDAV needs to access the untranslated title of an object. More...
 
 setTitle (string $title)
 
 getDescription ()
 
 setDescription (string $desc)
 
 getLongDescription ()
 get object long description (stored in object_description) More...
 
 getImportId ()
 
 setImportId (string $import_id)
 
 setOfflineStatus (bool $status)
 
 getOfflineStatus ()
 
 supportsOfflineHandling ()
 
 getOwner ()
 
 getOwnerName ()
 get full name of object owner More...
 
 setOwner (int $usr_id)
 
 getCreateDate ()
 Get create date in YYYY-MM-DD HH-MM-SS format. More...
 
 getLastUpdateDate ()
 Get last update date in YYYY-MM-DD HH-MM-SS format. More...
 
 create ()
 note: title, description and type should be set when this function is called More...
 
 update ()
 
 MDUpdateListener (string $element)
 Metadata update listener. More...
 
 createMetaData ()
 
 updateMetaData ()
 
 deleteMetaData ()
 
 updateOwner ()
 update owner of object in db More...
 
 putInTree (int $parent_ref_id)
 maybe this method should be in tree object!? More...
 
 setPermissions (int $parent_ref_id)
 
 setParentRolePermissions (int $parent_ref_id)
 Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More...
 
 createReference ()
 creates reference for object More...
 
 countReferences ()
 
 delete ()
 delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More...
 
 initDefaultRoles ()
 init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More...
 
 applyDidacticTemplate (int $tpl_id)
 
 getXMLZip ()
 
 getHTMLDirectory ()
 
 appendCopyInfo (int $target_id, int $copy_id)
 Prepend Copy info if object with same name exists in that container. More...
 
 cloneDependencies (int $target_id, int $copy_id)
 Clone object dependencies. More...
 
 cloneMetaData (ilObject $target_obj)
 Copy meta data. More...
 
 selfOrParentWithRatingEnabled ()
 
 getPossibleSubObjects (bool $filter=true)
 get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More...
 

Static Public Member Functions

static _hasWriteAccess (int $ref)
 
static _hasReadAccess (int $ref)
 
static _hasTableByTitle (string $title, int $obj_id)
 Checks if a DataCollection has a table with a given title. More...
 
- Static Public Member Functions inherited from ilObject
static _lookupObjIdByImportId (string $import_id)
 Get (latest) object id for an import id. More...
 
static _lookupImportId (int $obj_id)
 
static _lookupOwnerName (int $owner_id)
 Lookup owner name for owner id. More...
 
static _getIdForImportId (string $import_id)
 
static _getAllReferences (int $id)
 get all reference ids for object ID More...
 
static _lookupTitle (int $obj_id)
 
static lookupOfflineStatus (int $obj_id)
 Lookup offline status using objectDataCache. More...
 
static _lookupOwner (int $obj_id)
 Lookup owner user ID for object ID. More...
 
static _getIdsForTitle (string $title, string $type='', bool $partial_match=false)
 
static _lookupDescription (int $obj_id)
 
static _lookupLastUpdate (int $obj_id, bool $formatted=false)
 
static _getLastUpdateOfObjects (array $obj_ids)
 
static _lookupObjId (int $ref_id)
 
static _setDeletedDate (int $ref_id, int $deleted_by)
 
static setDeletedDates (array $ref_ids, int $user_id)
 
static _resetDeletedDate (int $ref_id)
 
static _lookupDeletedDate (int $ref_id)
 
static _writeTitle (int $obj_id, string $title)
 write title to db (static) More...
 
static _writeDescription (int $obj_id, string $desc)
 write description to db (static) More...
 
static _writeImportId (int $obj_id, string $import_id)
 write import id to db (static) More...
 
static _lookupType (int $id, bool $reference=false)
 
static _isInTrash (int $ref_id)
 
static _hasUntrashedReference (int $obj_id)
 checks whether an object has at least one reference that is not in trash More...
 
static _lookupObjectId (int $ref_id)
 
static _getObjectsDataForType (string $type, bool $omit_trash=false)
 get all objects of a certain type More...
 
static _exists (int $id, bool $reference=false, ?string $type=null)
 checks if an object exists in object_data More...
 
static _getObjectsByType (string $obj_type="", int $owner=null)
 
static _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true)
 Prepare copy wizard object selection. More...
 
static _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false)
 Get icon for repository item. More...
 
static collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0)
 Collect deletion dependencies. More...
 
static getDeletionDependencies (int $obj_id)
 Get deletion dependencies. More...
 
static getLongDescriptions (array $obj_ids)
 
static getAllOwnedRepositoryObjects (int $user_id)
 
static fixMissingTitles ($type, array &$obj_title_map)
 Try to fix missing object titles. More...
 
static _lookupCreationDate (int $obj_id)
 
static _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null)
 

Protected Member Functions

 initType ()
 
 doRead ()
 
 doCreate (bool $clone_mode=false)
 
 doDelete ()
 
 doUpdate ()
 
 doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null)
 Clone DCL. More...
 
- Protected Member Functions inherited from ilObject2
 initType ()
 
 doRead ()
 
 doCreate (bool $clone_mode=false)
 
 beforeCreate ()
 If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More...
 
 doUpdate ()
 
 beforeUpdate ()
 
 doDelete ()
 
 beforeDelete ()
 
 doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null)
 
 beforeCloneObject ()
 
- Protected Member Functions inherited from ilObject
 doMDUpdateListener (string $a_element)
 
 beforeMDUpdateListener (string $a_element)
 
 doCreateMetaData ()
 
 beforeCreateMetaData ()
 
 doUpdateMetaData ()
 
 beforeUpdateMetaData ()
 
 doDeleteMetaData ()
 
 beforeDeleteMetaData ()
 
 handleAutoRating ()
 
 hasAutoRating ()
 

Private Attributes

bool $is_online = false
 
string $rating = ""
 
string $approval = ""
 
string $public_notes = ""
 
string $notification = ""
 

Additional Inherited Members

- Data Fields inherited from ilObject
const TITLE_LENGTH = 255
 
const DESC_LENGTH = 128
 
const LONG_DESC_LENGTH = 4000
 
const TABLE_OBJECT_DATA = "object_data"
 
array $objectList
 
string $untranslatedTitle
 
- Protected Attributes inherited from ilObject
ilLogger $obj_log
 
ILIAS $ilias
 
ilObjectDefinition $obj_definition
 
ilDBInterface $db
 
ilLogger $log
 
ilErrorHandling $error
 
ilTree $tree
 
ilAppEventHandler $app_event_handler
 
ilRbacAdmin $rbac_admin
 
ilRbacReview $rbac_review
 
ilObjUser $user
 
ilLanguage $lng
 
int $id
 
bool $referenced
 
bool $call_by_reference
 
int $max_title = self::TITLE_LENGTH
 
int $max_desc = self::DESC_LENGTH
 
bool $add_dots = true
 
int $ref_id = null
 
string $type = ""
 
string $title = ""
 
bool $offline = false
 
string $desc = ""
 
string $long_desc = ""
 
int $owner = 0
 
string $create_date = ""
 
string $last_update = ""
 
string $import_id = ""
 
bool $register = false
 

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

Definition at line 19 of file class.ilObjDataCollection.php.

Member Function Documentation

◆ _hasReadAccess()

static ilObjDataCollection::_hasReadAccess ( int  $ref)
static
Parameters
$refint the reference id of the datacollection object to check.
Returns
bool whether or not the current user has add/edit_entry access to the referenced datacollection
Deprecated:

Definition at line 388 of file class.ilObjDataCollection.php.

388 : bool
389 {
391 }
static hasReadAccess(int $ref, ?int $user_id=0)

References ilObjDataCollectionAccess\hasReadAccess().

+ Here is the call graph for this function:

◆ _hasTableByTitle()

static ilObjDataCollection::_hasTableByTitle ( string  $title,
int  $obj_id 
)
static

Checks if a DataCollection has a table with a given title.

Parameters
string$titleTitle of table
int$obj_idObj-ID of the table
Returns
bool

Definition at line 436 of file class.ilObjDataCollection.php.

436 : bool
437 {
438 global $DIC;
439 $ilDB = $DIC['ilDB'];
440 $result = $ilDB->query(
441 'SELECT * FROM il_dcl_table WHERE obj_id = ' . $ilDB->quote($obj_id, 'integer') . ' AND title = '
442 . $ilDB->quote($title, 'text')
443 );
444
445 return ($ilDB->numRows($result)) ? true : false;
446 }
return true
string $title
global $DIC
Definition: feed.php:28

References $DIC, $ilDB, ilObject\$title, and true.

Referenced by ilDclTableEditGUI\checkInput().

+ Here is the caller graph for this function:

◆ _hasWriteAccess()

static ilObjDataCollection::_hasWriteAccess ( int  $ref)
static
Parameters
$refint the reference id of the datacollection object to check.
Returns
bool whether or not the current user has admin/write access to the referenced datacollection
Deprecated:

Definition at line 378 of file class.ilObjDataCollection.php.

378 : bool
379 {
381 }
static hasWriteAccess(int $ref, ?int $user_id=0)

References ilObjDataCollectionAccess\hasWriteAccess().

+ Here is the call graph for this function:

◆ cloneStructure()

ilObjDataCollection::cloneStructure ( int  $original_id)

Attention only use this for objects who have not yet been created (use like: $x = new ilObjDataCollection; $x->cloneStructure($id))

Parameters
int$original_idThe original ID of the dataselection you want to clone it's structure

Definition at line 288 of file class.ilObjDataCollection.php.

288 : void
289 {
290 $original = new ilObjDataCollection($original_id);
291
292 $this->setApproval($original->getApproval());
293 $this->setNotification($original->getNotification());
294 $this->setPublicNotes($original->getPublicNotes());
295 $this->setRating($original->getRating());
296
297 // delete old tables.
298 foreach ($this->getTables() as $table) {
299 $table->doDelete();
300 }
301
302 // add new tables.
303 foreach ($original->getTables() as $table) {
304 $new_table = new ilDclTable();
305 $new_table->setObjId($this->getId());
306 $new_table->cloneStructure($table);
307 }
308
309 // mandatory for all cloning functions
311
312 foreach ($this->getTables() as $table) {
313 $table->afterClone();
314 }
315 }
const TYPE_DATACOLLECTION
static setCloneOf(int $old, int $new, string $type)
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 ilObject\getId(), getTables(), setApproval(), ilDclCache\setCloneOf(), setNotification(), setPublicNotes(), setRating(), and ilDclCache\TYPE_DATACOLLECTION.

+ Here is the call graph for this function:

◆ doCloneObject()

ilObjDataCollection::doCloneObject ( ilObject2  $new_obj,
int  $a_target_id,
?int  $a_copy_id = null 
)
protected

Clone DCL.

Parameters
ilObject2$new_obj
int$a_target_idref_id
int | null$a_copy_id
Returns
void

Reimplemented from ilObject2.

Definition at line 271 of file class.ilObjDataCollection.php.

271 : void
272 {
273 assert($new_obj instanceof ilObjDataCollection);
274 //copy online status if object is not the root copy object
275 $cp_options = ilCopyWizardOptions::_getInstance($a_copy_id);
276
277 if (!$cp_options->isRootNode($this->getRefId())) {
278 $new_obj->setOnline(true);
279 }
280
281 $new_obj->cloneStructure($this->getRefId());
282 }
static _getInstance(int $a_copy_id)

References ilCopyWizardOptions\_getInstance(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ doCreate()

ilObjDataCollection::doCreate ( bool  $clone_mode = false)
protected

Reimplemented from ilObject2.

Definition at line 49 of file class.ilObjDataCollection.php.

49 : void
50 {
51 global $DIC;
52 $ilDB = $DIC['ilDB'];
53 $ilLog = $DIC['ilLog'];
54
55 $ilLog->write('doCreate');
56
57 if (!$clone_mode) {
58 //Create Main Table - The title of the table is per default the title of the data collection object
59 $main_table = ilDclCache::getTableCache();
60 $main_table->setObjId($this->getId());
61 $main_table->setTitle($this->getTitle());
62 $main_table->setAddPerm(1);
63 $main_table->setEditPerm(1);
64 $main_table->setDeletePerm(0);
65 $main_table->setDeleteByOwner(1);
66 $main_table->setEditByOwner(1);
67 $main_table->setLimited(0);
68 $main_table->setIsVisible(true);
69 $main_table->doCreate();
70 }
71
72 $ilDB->insert(
73 "il_dcl_data",
74 array(
75 "id" => array("integer", $this->getId()),
76 "is_online" => array("integer", (int) $this->getOnline()),
77 "rating" => array("integer", (int) $this->getRating()),
78 "public_notes" => array("integer", (int) $this->getPublicNotes()),
79 "approval" => array("integer", (int) $this->getApproval()),
80 "notification" => array("integer", (int) $this->getNotification()),
81 )
82 );
83 }
static getTableCache(int $table_id=null)

References $DIC, $ilDB, getApproval(), ilObject\getId(), getNotification(), getOnline(), getPublicNotes(), getRating(), ilDclCache\getTableCache(), and ilObject\getTitle().

+ Here is the call graph for this function:

◆ doDelete()

ilObjDataCollection::doDelete ( )
protected

Reimplemented from ilObject2.

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

85 : void
86 {
87 global $DIC;
88 $ilDB = $DIC['ilDB'];
89
90 foreach ($this->getTables() as $table) {
91 $table->doDelete(false, true);
92 }
93
94 $query = "DELETE FROM il_dcl_data WHERE id = " . $ilDB->quote($this->getId(), "integer");
95 $ilDB->manipulate($query);
96 }
$query

References $DIC, $ilDB, $query, ilObject\getId(), and getTables().

+ Here is the call graph for this function:

◆ doRead()

ilObjDataCollection::doRead ( )
protected

Reimplemented from ilObject2.

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

32 : void
33 {
34 global $DIC;
35 $ilDB = $DIC['ilDB'];
36
37 $result = $ilDB->query("SELECT * FROM il_dcl_data WHERE id = " . $ilDB->quote($this->getId(), "integer"));
38
39 $data = $ilDB->fetchObject($result);
40 if ($data) {
41 $this->setOnline($data->is_online);
42 $this->setRating($data->rating);
43 $this->setApproval($data->approval);
44 $this->setPublicNotes($data->public_notes);
45 $this->setNotification($data->notification);
46 }
47 }

References $data, $DIC, $ilDB, setApproval(), setNotification(), setOnline(), setPublicNotes(), and setRating().

+ Here is the call graph for this function:

◆ doUpdate()

ilObjDataCollection::doUpdate ( )
protected

Reimplemented from ilObject2.

Definition at line 98 of file class.ilObjDataCollection.php.

98 : void
99 {
100 global $DIC;
101 $ilDB = $DIC['ilDB'];
102
103 $ilDB->update(
104 "il_dcl_data",
105 array(
106 "id" => array("integer", $this->getId()),
107 "is_online" => array("integer", (int) $this->getOnline()),
108 "rating" => array("integer", (int) $this->getRating()),
109 "public_notes" => array("integer", (int) $this->getPublicNotes()),
110 "approval" => array("integer", (int) $this->getApproval()),
111 "notification" => array("integer", (int) $this->getNotification()),
112 ),
113 array(
114 "id" => array("integer", $this->getId()),
115 )
116 );
117 }

References $DIC, $ilDB, getApproval(), ilObject\getId(), getNotification(), getOnline(), getPublicNotes(), and getRating().

+ Here is the call graph for this function:

◆ getApproval()

ilObjDataCollection::getApproval ( )

Definition at line 358 of file class.ilObjDataCollection.php.

358 : string
359 {
360 return $this->approval;
361 }

References $approval.

Referenced by doCreate(), and doUpdate().

+ Here is the caller graph for this function:

◆ getNotification()

ilObjDataCollection::getNotification ( )

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

368 : string
369 {
370 return $this->notification;
371 }

References $notification.

Referenced by doCreate(), and doUpdate().

+ Here is the caller graph for this function:

◆ getOnline()

ilObjDataCollection::getOnline ( )

getOnline

Definition at line 328 of file class.ilObjDataCollection.php.

328 : bool
329 {
330 return $this->is_online;
331 }

References $is_online.

Referenced by doCreate(), and doUpdate().

+ Here is the caller graph for this function:

◆ getPublicNotes()

ilObjDataCollection::getPublicNotes ( )

Definition at line 348 of file class.ilObjDataCollection.php.

348 : string
349 {
350 return $this->public_notes;
351 }

References $public_notes.

Referenced by doCreate(), and doUpdate().

+ Here is the caller graph for this function:

◆ getRating()

ilObjDataCollection::getRating ( )

Definition at line 338 of file class.ilObjDataCollection.php.

338 : string
339 {
340 return $this->rating;
341 }

References $rating.

Referenced by doCreate(), and doUpdate().

+ Here is the caller graph for this function:

◆ getStyleSheetId()

ilObjDataCollection::getStyleSheetId ( )

Definition at line 448 of file class.ilObjDataCollection.php.

448 : int
449 {
450 return 0;
451 }

◆ getTableById()

ilObjDataCollection::getTableById ( int  $table_id)

Definition at line 413 of file class.ilObjDataCollection.php.

413 : ilDclTable
414 {
415 return ilDclCache::getTableCache($table_id);
416 }

References ilDclCache\getTableCache().

+ Here is the call graph for this function:

◆ getTables()

ilObjDataCollection::getTables ( )
Returns
ilDclTable[] Returns an array of tables of this collection with ids of the tables as keys.

Definition at line 396 of file class.ilObjDataCollection.php.

396 : array
397 {
398 global $DIC;
399 $ilDB = $DIC['ilDB'];
400
401 $query = "SELECT id FROM il_dcl_table WHERE obj_id = " . $ilDB->quote($this->getId(), "integer") .
402 " ORDER BY -table_order DESC";
403 $set = $ilDB->query($query);
404 $tables = array();
405
406 while ($rec = $ilDB->fetchAssoc($set)) {
407 $tables[$rec['id']] = ilDclCache::getTableCache($rec['id']);
408 }
409
410 return $tables;
411 }

References $DIC, $ilDB, $query, ilObject\getId(), and ilDclCache\getTableCache().

Referenced by ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), cloneStructure(), doDelete(), and getVisibleTables().

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

◆ getVisibleTables()

ilObjDataCollection::getVisibleTables ( )

Definition at line 418 of file class.ilObjDataCollection.php.

418 : array
419 {
420 $tables = array();
421 foreach ($this->getTables() as $table) {
422 if ($table->getIsVisible() && $table->getVisibleTableViews($this->ref_id)) {
423 $tables[$table->getId()] = $table;
424 }
425 }
426
427 return $tables;
428 }

References getTables().

+ Here is the call graph for this function:

◆ initType()

ilObjDataCollection::initType ( )
protected

Reimplemented from ilObject2.

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

27 : void
28 {
29 $this->type = "dcl";
30 }

◆ prepareMessageText()

ilObjDataCollection::prepareMessageText ( string  $body)

Definition at line 453 of file class.ilObjDataCollection.php.

453 : string
454 {
455 if (preg_match_all('/<.*?br.*?>/', $body, $matches)) {
456 $matches = array_unique($matches[0]);
457 $brNewLineMatches = array_map(static function ($match): string {
458 return $match . "\n";
459 }, $matches);
460
461 //Remove carriage return to guarantee all new line can be properly found
462 $body = str_replace("\r", '', $body);
463 //Replace occurrence of <br> + \n with a single \n
464 $body = str_replace($brNewLineMatches, "\n", $body);
465 //Replace additional <br> with a \”
466 $body = str_replace($matches, "\n", $body);
467 //Revert removal of carriage return
468 return str_replace("\n", "\r\n", $body);
469 }
470 return $body;
471 }

◆ reorderTables()

ilObjDataCollection::reorderTables ( array  $table_order)

Definition at line 250 of file class.ilObjDataCollection.php.

250 : void
251 {
252 if ($table_order) {
253 $order = 10;
254 foreach ($table_order as $title) {
255 $table_id = ilDclTable::_getTableIdByTitle($title, $this->getId());
256 $table = ilDclCache::getTableCache($table_id);
257 $table->setOrder($order);
258 $table->doUpdate();
259 $order += 10;
260 }
261 }
262 }
static _getTableIdByTitle(string $title, int $obj_id)

References ilObject\$title, ilDclTable\_getTableIdByTitle(), ilObject\getId(), and ilDclCache\getTableCache().

+ Here is the call graph for this function:

◆ setApproval()

ilObjDataCollection::setApproval ( string  $a_val)

Definition at line 353 of file class.ilObjDataCollection.php.

353 : void
354 {
355 $this->approval = $a_val;
356 }

Referenced by cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setNotification()

ilObjDataCollection::setNotification ( string  $a_val)

Definition at line 363 of file class.ilObjDataCollection.php.

363 : void
364 {
365 $this->notification = $a_val;
366 }

References ILIAS\UI\examples\Symbol\Glyph\Notification\notification().

Referenced by cloneStructure(), and doRead().

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

◆ setOnline()

ilObjDataCollection::setOnline (   $a_val)

setOnline

Definition at line 320 of file class.ilObjDataCollection.php.

320 : void
321 {
322 $this->is_online = $a_val;
323 }

Referenced by doRead().

+ Here is the caller graph for this function:

◆ setPublicNotes()

ilObjDataCollection::setPublicNotes ( string  $a_val)

Definition at line 343 of file class.ilObjDataCollection.php.

344 {
345 $this->public_notes = $a_val;
346 }

Referenced by cloneStructure(), and doRead().

+ Here is the caller graph for this function:

◆ setRating()

ilObjDataCollection::setRating ( string  $a_val)

Definition at line 333 of file class.ilObjDataCollection.php.

333 : void
334 {
335 $this->rating = $a_val;
336 }

Referenced by cloneStructure(), and doRead().

+ Here is the caller graph for this function:

Field Documentation

◆ $approval

string ilObjDataCollection::$approval = ""
private

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

Referenced by getApproval().

◆ $is_online

bool ilObjDataCollection::$is_online = false
private

Definition at line 21 of file class.ilObjDataCollection.php.

Referenced by getOnline().

◆ $notification

string ilObjDataCollection::$notification = ""
private

Definition at line 25 of file class.ilObjDataCollection.php.

Referenced by getNotification().

◆ $public_notes

string ilObjDataCollection::$public_notes = ""
private

Definition at line 24 of file class.ilObjDataCollection.php.

Referenced by getPublicNotes().

◆ $rating

string ilObjDataCollection::$rating = ""
private

Definition at line 22 of file class.ilObjDataCollection.php.

Referenced by getRating().


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