|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for ilBadge:Public Member Functions | |
| __construct ($a_id=null) | |
| Constructor. More... | |
| getTypeInstance () | |
| copy ($a_new_parent_id) | |
| getId () | |
| setParentId ($a_id) | |
| getParentId () | |
| setTypeId ($a_id) | |
| getTypeId () | |
| setActive ($a_value) | |
| isActive () | |
| setTitle ($a_value) | |
| getTitle () | |
| setDescription ($a_value) | |
| getDescription () | |
| setCriteria ($a_value) | |
| getCriteria () | |
| setValid ($a_value) | |
| getValid () | |
| setConfiguration (array $a_value=null) | |
| getConfiguration () | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| importImage ($a_name, $a_file) | |
| getImagePath ($a_full_path=true) | |
| create () | |
| update () | |
| delete () | |
| getParentMeta () | |
| getStaticUrl () | |
| deleteStaticFiles () | |
Static Public Member Functions | |
| static | getInstancesByParentId ($a_parent_id, array $a_filter=null) |
| static | getInstancesByType ($a_type_id) |
| static | getObjectInstances (array $a_filter=null) |
| static | getExtendedTypeCaption (ilBadgeType $a_type) |
Protected Member Functions | |
| setId ($a_id) | |
| setImage ($a_value) | |
| getFilePath ($a_id, $a_subdir=null) | |
| Init file system storage. More... | |
| read ($a_id) | |
| importDBRow (array $a_row) | |
| getPropertiesForStorage () | |
| prepareJson ($a_base_url, $a_img_suffix) | |
Protected Attributes | |
| $id | |
| $parent_id | |
| $type_id | |
| $active | |
| $title | |
| $desc | |
| $image | |
| $valid | |
| $config | |
| $criteria | |
Definition at line 12 of file class.ilBadge.php.
| ilBadge::__construct | ( | $a_id = null | ) |
Constructor.
| int | $a_id |
Definition at line 31 of file class.ilBadge.php.
References read().
Here is the call graph for this function:| ilBadge::copy | ( | $a_new_parent_id | ) |
Definition at line 101 of file class.ilBadge.php.
References $img, $lng, copy(), create(), getId(), getImagePath(), getTitle(), setActive(), setId(), setParentId(), and setTitle().
Referenced by copy(), and importImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::create | ( | ) |
Definition at line 394 of file class.ilBadge.php.
References $id, $ilDB, getId(), getParentId(), getPropertiesForStorage(), getTypeId(), setId(), and update().
Referenced by copy(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::delete | ( | ) |
Definition at line 431 of file class.ilBadge.php.
References $ilDB, ilBadgeAssignment\deleteByBadgeId(), deleteStaticFiles(), getId(), and getImagePath().
Here is the call graph for this function:| ilBadge::deleteStaticFiles | ( | ) |
Definition at line 545 of file class.ilBadge.php.
References $path, ilUtil\delDir(), and ilBadgeHandler\getInstance().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::getConfiguration | ( | ) |
Definition at line 271 of file class.ilBadge.php.
References $config.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getCriteria | ( | ) |
Definition at line 246 of file class.ilBadge.php.
References $criteria.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getDescription | ( | ) |
Definition at line 236 of file class.ilBadge.php.
References $desc.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:
|
static |
Definition at line 555 of file class.ilBadge.php.
Referenced by ilBadgeTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilBadgeTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), and ilBadgeManagementGUI\listBadges().
Here is the caller graph for this function:
|
protected |
Init file system storage.
| type | $a_id | |
| type | $a_subdir |
Definition at line 339 of file class.ilBadge.php.
References $path.
Referenced by getImagePath().
Here is the caller graph for this function:| ilBadge::getId | ( | ) |
Definition at line 186 of file class.ilBadge.php.
References $id.
Referenced by copy(), ilBadgeHandler\countStaticBadgeInstances(), create(), delete(), ilBadgeHandler\getBadgePath(), getImagePath(), update(), and uploadImage().
Here is the caller graph for this function:| ilBadge::getImage | ( | ) |
Definition at line 281 of file class.ilBadge.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getImagePath | ( | $a_full_path = true | ) |
Definition at line 316 of file class.ilBadge.php.
References getFilePath(), getId(), and getImage().
Referenced by copy(), delete(), ilBadgeAssignment\getImagePath(), importImage(), ilBadgeManagementGUI\setBadgeFormValues(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 39 of file class.ilBadge.php.
References $ilDB, $res, and $row.
Referenced by ilBadgeHandler\getAvailableManualBadges(), ilBadgeAssignment\getInstancesByParentId(), ilBadgeTableGUI\getItems(), and ilBadgeUserTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 72 of file class.ilBadge.php.
References $ilDB, $res, and $row.
Referenced by ilBadgeHandler\triggerEvaluation().
Here is the caller graph for this function:
|
static |
Definition at line 124 of file class.ilBadge.php.
References $ilDB, $res, and $row.
Referenced by ilObjectBadgeTableGUI\getItems().
Here is the caller graph for this function:| ilBadge::getParentId | ( | ) |
Definition at line 196 of file class.ilBadge.php.
References $parent_id.
Referenced by create(), and getParentMeta().
Here is the caller graph for this function:| ilBadge::getParentMeta | ( | ) |
Definition at line 474 of file class.ilBadge.php.
References ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectDataDeletionLog\get(), and getParentId().
Here is the call graph for this function:
|
protected |
Definition at line 454 of file class.ilBadge.php.
References getConfiguration(), getCriteria(), getDescription(), getImage(), getTitle(), getValid(), and isActive().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::getStaticUrl | ( | ) |
Definition at line 523 of file class.ilBadge.php.
References $path, and ilBadgeHandler\getInstance().
Here is the call graph for this function:| ilBadge::getTitle | ( | ) |
Definition at line 226 of file class.ilBadge.php.
References $title.
Referenced by copy(), getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getTypeId | ( | ) |
Definition at line 206 of file class.ilBadge.php.
References $type_id.
Referenced by create(), and getTypeInstance().
Here is the caller graph for this function:| ilBadge::getTypeInstance | ( | ) |
Definition at line 91 of file class.ilBadge.php.
References ilBadgeHandler\getInstance(), and getTypeId().
Here is the call graph for this function:| ilBadge::getValid | ( | ) |
Definition at line 256 of file class.ilBadge.php.
References $valid.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:
|
protected |
Definition at line 378 of file class.ilBadge.php.
References setActive(), setConfiguration(), setCriteria(), setDescription(), setId(), setImage(), setParentId(), setTitle(), setTypeId(), and setValid().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::importImage | ( | $a_name, | |
| $a_file | |||
| ) |
Definition at line 305 of file class.ilBadge.php.
References copy(), getImagePath(), setImage(), and update().
Here is the call graph for this function:| ilBadge::isActive | ( | ) |
Definition at line 216 of file class.ilBadge.php.
References $active.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:
|
protected |
Definition at line 508 of file class.ilBadge.php.
|
protected |
Definition at line 365 of file class.ilBadge.php.
References $ilDB, $row, and importDBRow().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::setActive | ( | $a_value | ) |
Definition at line 211 of file class.ilBadge.php.
Referenced by copy(), and importDBRow().
Here is the caller graph for this function:| ilBadge::setConfiguration | ( | array | $a_value = null | ) |
Definition at line 261 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setCriteria | ( | $a_value | ) |
Definition at line 241 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setDescription | ( | $a_value | ) |
Definition at line 231 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 181 of file class.ilBadge.php.
Referenced by copy(), create(), and importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 276 of file class.ilBadge.php.
Referenced by importDBRow(), importImage(), and uploadImage().
Here is the caller graph for this function:| ilBadge::setParentId | ( | $a_id | ) |
Definition at line 191 of file class.ilBadge.php.
Referenced by copy(), and importDBRow().
Here is the caller graph for this function:| ilBadge::setTitle | ( | $a_value | ) |
Definition at line 221 of file class.ilBadge.php.
Referenced by copy(), and importDBRow().
Here is the caller graph for this function:| ilBadge::setTypeId | ( | $a_id | ) |
Definition at line 201 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setValid | ( | $a_value | ) |
Definition at line 251 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::update | ( | ) |
Definition at line 415 of file class.ilBadge.php.
References $ilDB, create(), getId(), and getPropertiesForStorage().
Referenced by create(), importImage(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::uploadImage | ( | array | $a_upload_meta | ) |
| array | $a_upload_meta |
| ilFileUtilsException |
Definition at line 290 of file class.ilBadge.php.
References $path, getId(), getImagePath(), ilUtil\moveUploadedFile(), setImage(), and update().
Here is the call graph for this function:
|
protected |
Definition at line 17 of file class.ilBadge.php.
Referenced by isActive().
|
protected |
Definition at line 22 of file class.ilBadge.php.
Referenced by getConfiguration().
|
protected |
Definition at line 23 of file class.ilBadge.php.
Referenced by getCriteria().
|
protected |
Definition at line 19 of file class.ilBadge.php.
Referenced by getDescription().
|
protected |
Definition at line 14 of file class.ilBadge.php.
|
protected |
Definition at line 20 of file class.ilBadge.php.
Referenced by getImage().
|
protected |
Definition at line 15 of file class.ilBadge.php.
Referenced by getParentId().
|
protected |
Definition at line 18 of file class.ilBadge.php.
Referenced by getTitle().
|
protected |
Definition at line 16 of file class.ilBadge.php.
Referenced by getTypeId().
|
protected |
Definition at line 21 of file class.ilBadge.php.
Referenced by getValid().