|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 | |
| $lng | |
| $db | |
| $id | |
| $parent_id | |
| $type_id | |
| $active | |
| $title | |
| $desc | |
| $image | |
| $valid | |
| $config | |
| $criteria | |
Class ilBadge.
Definition at line 10 of file class.ilBadge.php.
| ilBadge::__construct | ( | $a_id = null | ) |
| ilBadge::copy | ( | $a_new_parent_id | ) |
Definition at line 109 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 384 of file class.ilBadge.php.
References $db, $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 421 of file class.ilBadge.php.
References $db, $ilDB, ilBadgeAssignment\deleteByBadgeId(), deleteStaticFiles(), getId(), and getImagePath().
Here is the call graph for this function:| ilBadge::deleteStaticFiles | ( | ) |
Definition at line 526 of file class.ilBadge.php.
References 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 272 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 248 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 238 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 535 of file class.ilBadge.php.
References $a_type, $DIC, and $lng.
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 333 of file class.ilBadge.php.
Referenced by getImagePath().
Here is the caller graph for this function:| ilBadge::getId | ( | ) |
Definition at line 188 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 282 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 314 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 50 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeHandler\getAvailableManualBadges(), ilBadgeAssignment\getInstancesByParentId(), ilBadgeTableGUI\getItems(), and ilBadgeUserTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 81 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeHandler\triggerEvaluation().
Here is the caller graph for this function:
|
static |
Definition at line 130 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjectBadgeTableGUI\getItems().
Here is the caller graph for this function:| ilBadge::getParentId | ( | ) |
Definition at line 198 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 461 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 441 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 505 of file class.ilBadge.php.
References ilBadgeHandler\getInstance(), and ILIAS_HTTP_PATH.
Here is the call graph for this function:| ilBadge::getTitle | ( | ) |
Definition at line 228 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 208 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 101 of file class.ilBadge.php.
References ilBadgeHandler\getInstance(), and getTypeId().
Here is the call graph for this function:| ilBadge::getValid | ( | ) |
Definition at line 258 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 368 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 304 of file class.ilBadge.php.
References copy(), getImagePath(), setImage(), and update().
Here is the call graph for this function:| ilBadge::isActive | ( | ) |
Definition at line 218 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 490 of file class.ilBadge.php.
|
protected |
Definition at line 356 of file class.ilBadge.php.
References $db, $ilDB, 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 213 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 263 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setCriteria | ( | $a_value | ) |
Definition at line 243 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setDescription | ( | $a_value | ) |
Definition at line 233 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 183 of file class.ilBadge.php.
Referenced by copy(), create(), and importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 277 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 193 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 223 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 203 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setValid | ( | $a_value | ) |
Definition at line 253 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::update | ( | ) |
Definition at line 404 of file class.ilBadge.php.
References $db, $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 291 of file class.ilBadge.php.
References getId(), getImagePath(), ilUtil\moveUploadedFile(), setImage(), and update().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilBadge.php.
Referenced by isActive().
|
protected |
Definition at line 30 of file class.ilBadge.php.
Referenced by getConfiguration().
|
protected |
Definition at line 31 of file class.ilBadge.php.
Referenced by getCriteria().
|
protected |
|
protected |
Definition at line 27 of file class.ilBadge.php.
Referenced by getDescription().
|
protected |
Definition at line 22 of file class.ilBadge.php.
|
protected |
Definition at line 28 of file class.ilBadge.php.
Referenced by getImage().
|
protected |
Definition at line 15 of file class.ilBadge.php.
Referenced by copy().
|
protected |
Definition at line 23 of file class.ilBadge.php.
Referenced by getParentId().
|
protected |
Definition at line 26 of file class.ilBadge.php.
Referenced by getTitle().
|
protected |
Definition at line 24 of file class.ilBadge.php.
Referenced by getTypeId().
|
protected |
Definition at line 29 of file class.ilBadge.php.
Referenced by getValid().