|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilBadge:Public Member Functions | |
| __construct (int $a_id=null) | |
| clone (int $target_parent_obj_id) | |
| getTypeInstance () | |
| copy (int $a_new_parent_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 () | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| importImage (string $a_name, string $a_file) | |
| getImagePath (bool $a_full_path=true) | |
| create () | |
| update () | |
| delete () | |
| getParentMeta () | |
| deleteStaticFiles () | |
Static Public Member Functions | |
| static | getInstancesByParentId (int $a_parent_id, array $a_filter=null) |
| static | getInstancesByType (string $a_type_id) |
| static | getObjectInstances (array $a_filter=null) |
| static | getExtendedTypeCaption (ilBadgeType $a_type) |
Protected Member Functions | |
| setId (int $a_id) | |
| setImage (string $a_value) | |
| getFilePath (int $a_id, string $a_subdir=null) | |
| read (int $a_id) | |
| importDBRow (array $a_row) | |
| getPropertiesForStorage () | |
| prepareJson (string $a_base_url, string $a_img_suffix) | |
Protected Attributes | |
| ilLanguage | $lng |
| ilDBInterface | $db |
| int | $id = 0 |
| int | $parent_id = 0 |
| string | $type_id = "" |
| bool | $active = false |
| string | $title = "" |
| string | $desc = "" |
| string | $image = "" |
| string | $valid = "" |
| array | $config = null |
| string | $criteria = "" |
Definition at line 24 of file class.ilBadge.php.
| ilBadge::__construct | ( | int | $a_id = null | ) |
Definition at line 40 of file class.ilBadge.php.
References $DIC, ILIAS\Repository\lng(), and read().
Here is the call graph for this function:| ilBadge::clone | ( | int | $target_parent_obj_id | ) |
Definition at line 115 of file class.ilBadge.php.
References $img, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBadge::copy | ( | int | $a_new_parent_id | ) |
Definition at line 142 of file class.ilBadge.php.
| ilBadge::create | ( | ) |
Definition at line 431 of file class.ilBadge.php.
References $id, $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBadge::delete | ( | ) |
Definition at line 470 of file class.ilBadge.php.
References $ilDB, ilBadgeAssignment\deleteByBadgeId(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBadge::deleteStaticFiles | ( | ) |
Definition at line 564 of file class.ilBadge.php.
References $path, ilFileUtils\delDir(), and ilBadgeHandler\getInstance().
Here is the call graph for this function:| ilBadge::getConfiguration | ( | ) |
Definition at line 308 of file class.ilBadge.php.
References $config.
Referenced by ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getCriteria | ( | ) |
Definition at line 285 of file class.ilBadge.php.
| ilBadge::getDescription | ( | ) |
Definition at line 275 of file class.ilBadge.php.
|
static |
Definition at line 573 of file class.ilBadge.php.
Referenced by ilObjectBadgeTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilBadgeTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), and ilBadgeManagementGUI\listBadges().
Here is the caller graph for this function:
|
protected |
Definition at line 377 of file class.ilBadge.php.
References $path.
| ilBadge::getId | ( | ) |
Definition at line 225 of file class.ilBadge.php.
References $id.
Referenced by ilBadgeHandler\countStaticBadgeInstances(), and ilBadgeHandler\getBadgePath().
Here is the caller graph for this function:| ilBadge::getImage | ( | ) |
Definition at line 318 of file class.ilBadge.php.
| ilBadge::getImagePath | ( | bool | $a_full_path = true | ) |
Definition at line 362 of file class.ilBadge.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
| int | $a_parent_id | |
| array | null | $a_filter |
Definition at line 57 of file class.ilBadge.php.
References $ilDB.
Referenced by ilObjCourse\cloneObject(), and ilBadgeTableGUI\getItems().
Here is the caller graph for this function:
|
static |
|
static |
| array<string,mixed>|null | $a_filter |
Definition at line 168 of file class.ilBadge.php.
References $ilDB.
Referenced by ilObjectBadgeTableGUI\getItems().
Here is the caller graph for this function:| ilBadge::getParentId | ( | ) |
Definition at line 235 of file class.ilBadge.php.
| ilBadge::getParentMeta | ( | ) |
Definition at line 516 of file class.ilBadge.php.
References ilObject\_lookupTitle(), ilObject\_lookupType(), and ilObjectDataDeletionLog\get().
Here is the call graph for this function:
|
protected |
Definition at line 493 of file class.ilBadge.php.
| ilBadge::getTitle | ( | ) |
Definition at line 265 of file class.ilBadge.php.
| ilBadge::getTypeId | ( | ) |
Definition at line 245 of file class.ilBadge.php.
| ilBadge::getTypeInstance | ( | ) |
Definition at line 133 of file class.ilBadge.php.
References ilBadgeHandler\getInstance().
Here is the call graph for this function:| ilBadge::getValid | ( | ) |
|
protected |
Definition at line 414 of file class.ilBadge.php.
| ilBadge::importImage | ( | string | $a_name, |
| string | $a_file | ||
| ) |
| BadgeException |
Definition at line 348 of file class.ilBadge.php.
| ilBadge::isActive | ( | ) |
Definition at line 255 of file class.ilBadge.php.
|
protected |
Definition at line 546 of file class.ilBadge.php.
|
protected |
Definition at line 402 of file class.ilBadge.php.
References $ilDB.
Referenced by __construct().
Here is the caller graph for this function:| ilBadge::setActive | ( | bool | $a_value | ) |
Definition at line 250 of file class.ilBadge.php.
| ilBadge::setConfiguration | ( | array | $a_value = null | ) |
Definition at line 300 of file class.ilBadge.php.
| ilBadge::setCriteria | ( | string | $a_value | ) |
Definition at line 280 of file class.ilBadge.php.
| ilBadge::setDescription | ( | string | $a_value | ) |
Definition at line 270 of file class.ilBadge.php.
|
protected |
Definition at line 220 of file class.ilBadge.php.
|
protected |
Definition at line 313 of file class.ilBadge.php.
| ilBadge::setParentId | ( | int | $a_id | ) |
Definition at line 230 of file class.ilBadge.php.
| ilBadge::setTitle | ( | string | $a_value | ) |
Definition at line 260 of file class.ilBadge.php.
| ilBadge::setTypeId | ( | string | $a_id | ) |
Definition at line 240 of file class.ilBadge.php.
| ilBadge::setValid | ( | string | $a_value | ) |
Definition at line 290 of file class.ilBadge.php.
| ilBadge::update | ( | ) |
Definition at line 452 of file class.ilBadge.php.
References $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBadge::uploadImage | ( | array | $a_upload_meta | ) |
| BadgeException |
Definition at line 326 of file class.ilBadge.php.
References Vendor\Package\$e, $path, and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilBadge.php.
|
protected |
Definition at line 37 of file class.ilBadge.php.
|
protected |
Definition at line 38 of file class.ilBadge.php.
|
protected |
Definition at line 27 of file class.ilBadge.php.
|
protected |
Definition at line 34 of file class.ilBadge.php.
|
protected |
Definition at line 29 of file class.ilBadge.php.
|
protected |
Definition at line 35 of file class.ilBadge.php.
|
protected |
Definition at line 26 of file class.ilBadge.php.
|
protected |
Definition at line 30 of file class.ilBadge.php.
|
protected |
Definition at line 33 of file class.ilBadge.php.
|
protected |
Definition at line 31 of file class.ilBadge.php.
|
protected |
Definition at line 36 of file class.ilBadge.php.