ILIAS  trunk Revision v13.0_alpha-46-gad4e41c4eac
ilBadge Class Reference
+ Collaboration diagram for ilBadge:

Public Member Functions

 __construct (?int $a_id=null, ?Container $container=null)
 
 clone (int $target_parent_obj_id)
 
 getTypeInstance ()
 
 copy (int $a_new_parent_id, string $copy_suffix)
 
 setId (int $a_id)
 
 getId ()
 
 setParentId (int $a_id)
 
 getParentId ()
 
 setTypeId (string $a_id)
 
 getTypeId ()
 
 setActive (bool $a_value)
 
 isActive ()
 
 setTitle (string $a_value)
 
 getTitle ()
 
 setDescription (string $a_value)
 
 getDescription ()
 
 setCriteria (string $a_value)
 
 getCriteria ()
 
 setValid (string $a_value)
 
 getValid ()
 
 setConfiguration (?array $a_value=null)
 
 getConfiguration ()
 
 create ()
 
 update ()
 
 delete ()
 
 getParentMeta ()
 
 deleteStaticFiles ()
 
 getImageRid ()
 
 setImageRid (?string $image_rid)
 

Static Public Member Functions

static getInstancesByParentId (int $a_parent_id, ?array $a_filter=null)
 
static getInstancesByType (string $a_type_id)
 
static getObjectInstances (?array $filter=null)
 
static getExtendedTypeCaption (ilBadgeType $a_type)
 

Protected Member Functions

 read (int $a_id)
 
 importDBRow (array $a_row)
 
 getPropertiesForStorage ()
 
 prepareJson (string $a_base_url, string $a_img_suffix)
 

Protected Attributes

ilDBInterface $db
 
int $id = 0
 
int $parent_id = 0
 
string $type_id = ''
 
bool $active = false
 
string $title = ''
 
string $desc = ''
 
string $image_rid = null
 
string $valid = ''
 
array $config = null
 
string $criteria = ''
 

Private Attributes

ilLogger $log
 
Services $resource_storage
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilBadge::__construct ( ?int  $a_id = null,
?Container  $container = null 
)

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

42 {
43 if ($container === null) {
44 global $DIC;
46 }
47
48 $this->db = $container->database();
49 $this->resource_storage = $container->resourceStorage();
50 $this->log = $container->logger()->forComponent('badge');
51 if ($a_id) {
52 $this->read($a_id);
53 }
54 }
read(int $a_id)
global $DIC
Definition: shib_login.php:26
$container
@noRector
Definition: wac.php:39

References $container, $DIC, and read().

+ Here is the call graph for this function:

Member Function Documentation

◆ clone()

ilBadge::clone ( int  $target_parent_obj_id)

Definition at line 116 of file class.ilBadge.php.

116 : void
117 {
118 $this->setParentId($target_parent_obj_id);
119 $this->setActive(false);
120
121 if (!$this->getId()) {
122 return;
123 }
124
125 $image_rid = $this->getImageRid();
126 $this->setId(0);
127 if ($image_rid !== null) {
128 $cloned_rid = $this->resource_storage->manage()->clone(new ResourceIdentification($image_rid));
129 $this->setImageRid($cloned_rid);
130 }
131 $this->create();
132 }
setId(int $a_id)
string $image_rid
setActive(bool $a_value)
setParentId(int $a_id)
setImageRid(?string $image_rid)

References ILIAS\Survey\Mode\getId().

Referenced by ILIAS\UI\Implementation\Component\Table\Presentation\getCollapseAllSignal(), ILIAS\UI\Implementation\Component\Table\Presentation\getExpandAllSignal(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withAction(), ILIAS\UI\Implementation\Component\Table\AbstractTable\withActions(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withContent(), ILIAS\UI\Implementation\Component\Table\Presentation\withData(), ILIAS\UI\Implementation\Component\Table\DataRow\withDisabledAction(), ILIAS\UI\Implementation\Component\Table\Presentation\withEnvironment(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withFurtherFields(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withFurtherFieldsHeadline(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withHeadline(), ILIAS\UI\Implementation\Component\Table\AbstractTable\withId(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withImportantFields(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withLeadingSymbol(), ILIAS\UI\Implementation\Component\Table\Ordering\withOrderingDisabled(), ILIAS\UI\Implementation\Component\Table\OrderingRow\withOrderingDisabled(), ILIAS\UI\Implementation\Component\Table\OrderingRow\withPosition(), ILIAS\UI\Implementation\Component\Table\AbstractTable\withRequest(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withResetSignals(), ILIAS\UI\Implementation\Component\Table\Presentation\withRowMapping(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withSubheadline(), ILIAS\UI\Implementation\Component\Table\PresentationRow\withTags(), and ILIAS\UI\Implementation\Component\Table\Table\withTitle().

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

◆ copy()

ilBadge::copy ( int  $a_new_parent_id,
string  $copy_suffix 
)

Definition at line 145 of file class.ilBadge.php.

148 : void {
149 $this->setTitle($this->getTitle() . ' ' . $copy_suffix);
150 $this->setParentId($a_new_parent_id);
151 $this->setActive(false);
152
153 if ($this->getId()) {
154 $this->setId(0);
155 $old_rid = $this->getImageRid();
156 $this->create();
157 if ($old_rid !== null) {
158 $new_rid = $this->resource_storage->manage()->clone(new ResourceIdentification($old_rid));
159 $this->setImageRid($new_rid);
160 $this->update();
161 }
162 }
163 }
setTitle(string $a_value)

◆ create()

ilBadge::create ( )

Definition at line 357 of file class.ilBadge.php.

357 : void
358 {
360
361 if ($this->getId()) {
362 $this->update();
363
364 return;
365 }
366
367 $id = $ilDB->nextId('badge_badge');
368 $this->setId($id);
369
370 $fields = $this->getPropertiesForStorage();
371
372 $fields['id'] = ['integer', $id];
373 $fields['parent_id'] = ['integer', $this->getParentId()];
374 $fields['type_id'] = ['text', $this->getTypeId()];
375
376 $ilDB->insert('badge_badge', $fields);
377 }
ilDBInterface $db
getPropertiesForStorage()

References $id, $ilDB, and ILIAS\Survey\Mode\getId().

+ Here is the call graph for this function:

◆ delete()

ilBadge::delete ( )

Definition at line 398 of file class.ilBadge.php.

398 : void
399 {
401
402 if (!$this->getId()) {
403 return;
404 }
405
406 if ($this->getImageRid()) {
407 try {
408 $this->resource_storage->manage()->remove(new ResourceIdentification($this->getImageRid()), new ilBadgeFileStakeholder());
409 } catch (Exception $e) {
410 $this->log->warning(sprintf('There was an exception, while deleting the badge with id %s. Exception: %s', $this->getId(), $e->getMessage()));
411 }
412 }
413
414 $this->deleteStaticFiles();
415
417
418 $ilDB->manipulate('DELETE FROM badge_badge' .
419 ' WHERE id = ' . $ilDB->quote($this->getId(), 'integer'));
420 }
static deleteByBadgeId(int $a_badge_id)
deleteStaticFiles()

References Vendor\Package\$e, $ilDB, ilBadgeAssignment\deleteByBadgeId(), and ILIAS\Survey\Mode\getId().

+ Here is the call graph for this function:

◆ deleteStaticFiles()

ilBadge::deleteStaticFiles ( )

Definition at line 493 of file class.ilBadge.php.

493 : void
494 {
495 // remove instance files
496 $path = ilBadgeHandler::getInstance()->getBadgePath($this);
497 if (is_dir($path)) {
498 ilFileUtils::delDir($path);
499 }
500 }
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively

References ilFileUtils\delDir(), and ilBadgeHandler\getInstance().

+ Here is the call graph for this function:

◆ getConfiguration()

ilBadge::getConfiguration ( )

Definition at line 319 of file class.ilBadge.php.

319 : ?array
320 {
321 return $this->config;
322 }
array $config

◆ getCriteria()

ilBadge::getCriteria ( )

Definition at line 296 of file class.ilBadge.php.

296 : string
297 {
298 return $this->criteria;
299 }
string $criteria

Referenced by ILIAS\Badge\Tile\modalContent().

+ Here is the caller graph for this function:

◆ getDescription()

ilBadge::getDescription ( )

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

286 : string
287 {
288 return $this->desc;
289 }
string $desc

◆ getExtendedTypeCaption()

static ilBadge::getExtendedTypeCaption ( ilBadgeType  $a_type)
static

Definition at line 502 of file class.ilBadge.php.

504 : string {
505 global $DIC;
506
507 $lng = $DIC->language();
508
509 return $a_type->getCaption() . ' (' .
510 ($a_type instanceof ilBadgeAuto
511 ? $lng->txt('badge_subtype_auto')
512 : $lng->txt('badge_subtype_manual')) . ')';
513 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $lng
Definition: privfeed.php:26

Referenced by ILIAS\Badge\ilBadgeTableGUI\getRecords(), ILIAS\Badge\ilObjectBadgeTableGUI\getRecords(), and ilBadgeManagementGUI\listBadgesCmd().

+ Here is the caller graph for this function:

◆ getId()

ilBadge::getId ( )

Definition at line 236 of file class.ilBadge.php.

236 : int
237 {
238 return $this->id;
239 }

References $id.

Referenced by ilBadgeHandler\countStaticBadgeInstances(), ilBadgeHandler\getBadgePath(), and ILIAS\Badge\Tile\profileButton().

+ Here is the caller graph for this function:

◆ getImageRid()

ilBadge::getImageRid ( )

Definition at line 515 of file class.ilBadge.php.

515 : ?string
516 {
517 // '-' was written by the removed filesystem migration for badges without an image.
518 if ($this->image_rid === null || $this->image_rid === '' || $this->image_rid === '-') {
519 return null;
520 }
521
522 return $this->image_rid;
523 }

Referenced by ilBadgeManagementGUI\removeResourceStorageImage().

+ Here is the caller graph for this function:

◆ getInstancesByParentId()

static ilBadge::getInstancesByParentId ( int  $a_parent_id,
?array  $a_filter = null 
)
static
Returns
self[]

Definition at line 59 of file class.ilBadge.php.

62 : array {
63 global $DIC;
64
65 $ilDB = $DIC->database();
66
67 $res = [];
68
69 $sql = 'SELECT * FROM badge_badge' .
70 ' WHERE parent_id = ' . $ilDB->quote($a_parent_id);
71
72 if ($a_filter) {
73 if ($a_filter['title'] ?? false) {
74 $sql .= ' AND ' . $ilDB->like('title', 'text', '%' . trim($a_filter['title']) . '%');
75 }
76 if ($a_filter['type'] ?? false) {
77 $sql .= ' AND type_id = ' . $ilDB->quote($a_filter['type'], 'integer');
78 }
79 }
80
81 $set = $ilDB->query($sql .
82 ' ORDER BY title');
83 while ($row = $ilDB->fetchAssoc($set)) {
84 $obj = new self();
85 $obj->importDBRow($row);
86 $res[] = $obj;
87 }
88
89 return $res;
90 }
foreach($_POST as $key=> $value) $res

References $ilDB.

Referenced by ilObjCourse\cloneObject(), ilBadgeManagementGUI\confirmDeleteBadges(), ILIAS\Badge\ilBadgeTableGUI\getRecords(), and ilBadgeManagementGUI\toggleBadges().

+ Here is the caller graph for this function:

◆ getInstancesByType()

static ilBadge::getInstancesByType ( string  $a_type_id)
static
Returns
self[]

Definition at line 95 of file class.ilBadge.php.

97 : array {
98 global $DIC;
99
100 $ilDB = $DIC->database();
101
102 $res = [];
103
104 $set = $ilDB->query('SELECT * FROM badge_badge' .
105 ' WHERE type_id = ' . $ilDB->quote($a_type_id, 'text') .
106 ' ORDER BY title');
107 while ($row = $ilDB->fetchAssoc($set)) {
108 $obj = new self();
109 $obj->importDBRow($row);
110 $res[] = $obj;
111 }
112
113 return $res;
114 }

References $res.

◆ getObjectInstances()

static ilBadge::getObjectInstances ( ?array  $filter = null)
static
Parameters
array{typestring, title: string, object: string}|null $filter
Returns
list<array{ id: int, parent_id: int, type_id: string, active: int, title: ?string, descr: ?string, conf: ?string, valid: ?string, crit: ?string, image_rid: ?string, parent_title: ?string, parent_type: ?string, deleted: bool }>

Definition at line 183 of file class.ilBadge.php.

185 : array {
186 global $DIC;
187
188 $ilDB = $DIC->database();
189
190 $rows = [];
191
192 $where = '';
193
194 if ($filter['type']) {
195 $where .= ' AND bb.type_id = ' . $ilDB->quote($filter['type'], ilDBConstants::T_TEXT);
196 }
197 if ($filter['title']) {
198 $where .= ' AND ' . $ilDB->like('bb.title', ilDBConstants::T_TEXT, '%' . $filter['title'] . '%');
199 }
200 if ($filter['object']) {
201 $where .= ' AND ' . $ilDB->like('od.title', ilDBConstants::T_TEXT, '%' . $filter['object'] . '%');
202 }
203
204 $set = $ilDB->query('SELECT bb.*, od.title parent_title, od.type parent_type' .
205 ' FROM badge_badge bb' .
206 ' INNER JOIN object_data od ON bb.parent_id = od.obj_id' .
207 ' WHERE od.type != ' . $ilDB->quote('bdga', ilDBConstants::T_TEXT) .
208 $where);
209 while ($row = $ilDB->fetchAssoc($set)) {
210 $row['deleted'] = false;
211 $rows[] = $row;
212 }
213
214 $set = $ilDB->query('SELECT bb.*, od.title parent_title, od.type parent_type' .
215 ' FROM badge_badge bb' .
216 ' INNER JOIN object_data_del od ON bb.parent_id = od.obj_id' .
217 ' WHERE od.type != ' . $ilDB->quote('bdga', ilDBConstants::T_TEXT) .
218 $where);
219 while ($row = $ilDB->fetchAssoc($set)) {
220 $row['deleted'] = true;
221 $rows[] = $row;
222 }
223
224 return $rows;
225 }

References $ilDB, and ilDBConstants\T_TEXT.

Referenced by ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ILIAS\Badge\ilObjectBadgeTableGUI\getRecords(), ILIAS\Badge\ilObjectBadgeTableGUI\renderTable(), and ilObjBadgeAdministrationGUI\toggleObjectBadges().

+ Here is the caller graph for this function:

◆ getParentId()

ilBadge::getParentId ( )

Definition at line 246 of file class.ilBadge.php.

246 : int
247 {
248 return $this->parent_id;
249 }
int $parent_id

Referenced by ILIAS\Badge\BadgeParent\metaData().

+ Here is the caller graph for this function:

◆ getParentMeta()

ilBadge::getParentMeta ( )
Returns
array{id: int, type: string, title: string, deleted: bool}

Definition at line 447 of file class.ilBadge.php.

447 : array
448 {
449 $parent_type = ilObject::_lookupType($this->getParentId());
450 $parent_title = '';
451 if ($parent_type) {
452 $parent_title = ilObject::_lookupTitle($this->getParentId());
453 $deleted = false;
454 } else {
455 // already deleted?
456 $parent = ilObjectDataDeletionLog::get($this->getParentId());
457 if ($parent['type']) {
458 $parent_type = $parent['type'];
459 $parent_title = $parent['title'];
460 }
461 $deleted = true;
462 }
463
464 return [
465 'id' => $this->getParentId(),
466 'type' => $parent_type,
467 'title' => $parent_title,
468 'deleted' => $deleted
469 ];
470 }
static _lookupType(int $id, bool $reference=false)
static _lookupTitle(int $obj_id)

References ilObject\_lookupTitle(), ilObject\_lookupType(), and ilObjectDataDeletionLog\get().

Referenced by ILIAS\Badge\BadgeParent\metaData().

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

◆ getPropertiesForStorage()

ilBadge::getPropertiesForStorage ( )
protected
Returns
array<string, array>

Definition at line 425 of file class.ilBadge.php.

425 : array
426 {
427 return [
428 'active' => ['integer', $this->isActive()],
429 'title' => ['text', $this->getTitle()],
430 'descr' => ['text', $this->getDescription()],
431 'crit' => ['text', $this->getCriteria()],
432 'image_rid' => ['text', $this->getImageRid()],
433 'valid' => ['text', $this->getValid()],
434 'conf' => [
435 'text', $this->getConfiguration() ? serialize($this->getConfiguration()) : null
436 ]
437 ];
438 }
getConfiguration()

References ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().

+ Here is the call graph for this function:

◆ getTitle()

ilBadge::getTitle ( )

Definition at line 276 of file class.ilBadge.php.

276 : string
277 {
278 return $this->title;
279 }
string $title

Referenced by ILIAS\Badge\Tile\image(), and ILIAS\Badge\Tile\title().

+ Here is the caller graph for this function:

◆ getTypeId()

ilBadge::getTypeId ( )

Definition at line 256 of file class.ilBadge.php.

256 : string
257 {
258 return $this->type_id;
259 }
string $type_id

◆ getTypeInstance()

ilBadge::getTypeInstance ( )

Definition at line 134 of file class.ilBadge.php.

134 : ?ilBadgeType
135 {
136 if ($this->getTypeId()) {
138
139 return $handler->getTypeInstanceByUniqueId($this->getTypeId());
140 }
141
142 return null;
143 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$handler
Definition: oai.php:31

References $handler, and ilBadgeHandler\getInstance().

+ Here is the call graph for this function:

◆ getValid()

ilBadge::getValid ( )

Definition at line 306 of file class.ilBadge.php.

306 : string
307 {
308 return $this->valid;
309 }
string $valid

Referenced by ILIAS\Badge\Tile\modalContent().

+ Here is the caller graph for this function:

◆ importDBRow()

ilBadge::importDBRow ( array  $a_row)
protected

Definition at line 340 of file class.ilBadge.php.

342 : void {
343 $this->setId($a_row['id']);
344 $this->setParentId($a_row['parent_id']);
345 $this->setTypeId($a_row['type_id']);
346 $this->setActive($a_row['active']);
347 $this->setTitle($a_row['title']);
348 $this->setDescription($a_row['descr']);
349 $this->setCriteria($a_row['crit']);
350 $this->setImageRid($a_row['image_rid']);
351 $this->setValid($a_row['valid']);
352 $this->setConfiguration($a_row['conf']
353 ? unserialize($a_row['conf'], ['allowed_classes' => false])
354 : null);
355 }
setCriteria(string $a_value)
setValid(string $a_value)
setConfiguration(?array $a_value=null)
setDescription(string $a_value)
setTypeId(string $a_id)

◆ isActive()

ilBadge::isActive ( )

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

266 : bool
267 {
268 return $this->active;
269 }
bool $active

◆ prepareJson()

ilBadge::prepareJson ( string  $a_base_url,
string  $a_img_suffix 
)
protected

Definition at line 476 of file class.ilBadge.php.

479 : stdClass {
480 $json = new stdClass();
481 $json->{'@context'} = 'https://w3id.org/openbadges/v1';
482 $json->type = 'BadgeClass';
483 $json->id = $a_base_url . 'class.json';
484 $json->name = $this->getTitle();
485 $json->description = $this->getDescription();
486 $json->image = $a_base_url . 'image.' . $a_img_suffix;
487 $json->criteria = $a_base_url . 'criteria.txt';
488 $json->issuer = ilBadgeHandler::getInstance()->getIssuerStaticUrl();
489
490 return $json;
491 }

◆ read()

ilBadge::read ( int  $a_id)
protected

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

328 : void
329 {
331
332 $set = $ilDB->query('SELECT * FROM badge_badge' .
333 ' WHERE id = ' . $ilDB->quote($a_id, 'integer'));
334 if ($ilDB->numRows($set)) {
335 $row = $ilDB->fetchAssoc($set);
336 $this->importDBRow($row);
337 }
338 }
importDBRow(array $a_row)

References $ilDB.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setActive()

ilBadge::setActive ( bool  $a_value)

Definition at line 261 of file class.ilBadge.php.

261 : void
262 {
263 $this->active = $a_value;
264 }

◆ setConfiguration()

ilBadge::setConfiguration ( ?array  $a_value = null)

Definition at line 311 of file class.ilBadge.php.

311 : void
312 {
313 if (is_array($a_value) && !count($a_value)) {
314 $a_value = null;
315 }
316 $this->config = $a_value;
317 }

◆ setCriteria()

ilBadge::setCriteria ( string  $a_value)

Definition at line 291 of file class.ilBadge.php.

291 : void
292 {
293 $this->criteria = trim($a_value);
294 }

◆ setDescription()

ilBadge::setDescription ( string  $a_value)

Definition at line 281 of file class.ilBadge.php.

281 : void
282 {
283 $this->desc = trim($a_value);
284 }

◆ setId()

ilBadge::setId ( int  $a_id)

Definition at line 231 of file class.ilBadge.php.

231 : void
232 {
233 $this->id = $a_id;
234 }

◆ setImageRid()

ilBadge::setImageRid ( ?string  $image_rid)

Definition at line 525 of file class.ilBadge.php.

525 : void
526 {
527 $this->image_rid = $image_rid;
528 }

Referenced by ilBadgeManagementGUI\cloneBadgeTemplate(), and ILIAS\Badge\ilBadgeImage\processImageUpload().

+ Here is the caller graph for this function:

◆ setParentId()

ilBadge::setParentId ( int  $a_id)

Definition at line 241 of file class.ilBadge.php.

241 : void
242 {
243 $this->parent_id = $a_id;
244 }

◆ setTitle()

ilBadge::setTitle ( string  $a_value)

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

271 : void
272 {
273 $this->title = trim($a_value);
274 }

◆ setTypeId()

ilBadge::setTypeId ( string  $a_id)

Definition at line 251 of file class.ilBadge.php.

251 : void
252 {
253 $this->type_id = trim($a_id);
254 }

◆ setValid()

ilBadge::setValid ( string  $a_value)

Definition at line 301 of file class.ilBadge.php.

301 : void
302 {
303 $this->valid = trim($a_value);
304 }

◆ update()

ilBadge::update ( )

Definition at line 379 of file class.ilBadge.php.

379 : void
380 {
382
383 if (!$this->getId()) {
384 $this->create();
385
386 return;
387 }
388
389 $fields = $this->getPropertiesForStorage();
390
391 $ilDB->update(
392 'badge_badge',
393 $fields,
394 ['id' => ['integer', $this->getId()]]
395 );
396 }

References $ilDB, and ILIAS\Survey\Mode\getId().

Referenced by ilBadgeManagementGUI\cloneBadgeTemplate(), and ILIAS\Badge\ilBadgeImage\processImageUpload().

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

Field Documentation

◆ $active

bool ilBadge::$active = false
protected

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

◆ $config

array ilBadge::$config = null
protected

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

◆ $criteria

string ilBadge::$criteria = ''
protected

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

◆ $db

ilDBInterface ilBadge::$db
protected

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

◆ $desc

string ilBadge::$desc = ''
protected

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

◆ $id

int ilBadge::$id = 0
protected

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

◆ $image_rid

string ilBadge::$image_rid = null
protected

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

◆ $log

ilLogger ilBadge::$log
private

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

◆ $parent_id

int ilBadge::$parent_id = 0
protected

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

◆ $resource_storage

Services ilBadge::$resource_storage
private

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

◆ $title

string ilBadge::$title = ''
protected

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

◆ $type_id

string ilBadge::$type_id = ''
protected

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

◆ $valid

string ilBadge::$valid = ''
protected

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


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