|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Badge Template. More...
Collaboration diagram for ilBadgeImageTemplate:Public Member Functions | |
| __construct ($a_id=null) | |
| Constructor. More... | |
| getId () | |
| setTitle ($a_value) | |
| getTitle () | |
| getTypes () | |
| setTypes (array $types=null) | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| getImagePath () | |
| create () | |
| update () | |
| delete () | |
Static Public Member Functions | |
| static | getInstances () |
| static | getInstancesByType ($a_type_unique_id) |
Protected Member Functions | |
| setId ($a_id) | |
| setImage ($a_value) | |
| getFilePath ($a_id, $a_subdir=null) | |
| Init file system storage. More... | |
| read ($a_id) | |
| readTypes ($a_id) | |
| importDBRow (array $a_row) | |
| getPropertiesForStorage () | |
| saveTypes () | |
Protected Attributes | |
| $db | |
| $id | |
| $title | |
| $image | |
| $types | |
| ilBadgeImageTemplate::__construct | ( | $a_id = null | ) |
Constructor.
| int | $a_id |
Definition at line 29 of file class.ilBadgeImageTemplate.php.
Here is the call graph for this function:| ilBadgeImageTemplate::create | ( | ) |
Definition at line 235 of file class.ilBadgeImageTemplate.php.
References $db, $id, $ilDB, getId(), getPropertiesForStorage(), saveTypes(), setId(), and update().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadgeImageTemplate::delete | ( | ) |
Definition at line 273 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $path, ilUtil\delDir(), getFilePath(), and getId().
Here is the call graph for this function:
|
protected |
Init file system storage.
| type | $a_id | |
| type | $a_subdir |
Definition at line 171 of file class.ilBadgeImageTemplate.php.
References $path.
Referenced by delete(), getImagePath(), and uploadImage().
Here is the caller graph for this function:| ilBadgeImageTemplate::getId | ( | ) |
Definition at line 90 of file class.ilBadgeImageTemplate.php.
References $id.
Referenced by create(), delete(), getImagePath(), saveTypes(), update(), and uploadImage().
Here is the caller graph for this function:| ilBadgeImageTemplate::getImage | ( | ) |
Definition at line 122 of file class.ilBadgeImageTemplate.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
Here is the caller graph for this function:| ilBadgeImageTemplate::getImagePath | ( | ) |
Definition at line 151 of file class.ilBadgeImageTemplate.php.
References getFilePath(), getId(), and getImage().
Referenced by ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 39 of file class.ilBadgeImageTemplate.php.
References $DIC, $ilDB, $res, $row, and $types.
Referenced by ilBadgeImageTemplateTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 66 of file class.ilBadgeImageTemplate.php.
References $res.
Referenced by ilBadgeManagementGUI\initBadgeForm().
Here is the caller graph for this function:
|
protected |
Definition at line 288 of file class.ilBadgeImageTemplate.php.
References getImage(), and getTitle().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadgeImageTemplate::getTitle | ( | ) |
Definition at line 100 of file class.ilBadgeImageTemplate.php.
References $title.
Referenced by getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
Here is the caller graph for this function:| ilBadgeImageTemplate::getTypes | ( | ) |
Definition at line 110 of file class.ilBadgeImageTemplate.php.
References $types.
Referenced by saveTypes(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
Here is the caller graph for this function:
|
protected |
Definition at line 227 of file class.ilBadgeImageTemplate.php.
References setId(), setImage(), setTitle(), and setTypes().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 195 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $row, importDBRow(), and readTypes().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
Definition at line 296 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $type, getId(), and getTypes().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 85 of file class.ilBadgeImageTemplate.php.
Referenced by create(), and importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 105 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow(), and uploadImage().
Here is the caller graph for this function:| ilBadgeImageTemplate::setTitle | ( | $a_value | ) |
Definition at line 95 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadgeImageTemplate::setTypes | ( | array | $types = null | ) |
Definition at line 115 of file class.ilBadgeImageTemplate.php.
References $types.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadgeImageTemplate::update | ( | ) |
Definition at line 254 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, create(), getId(), getPropertiesForStorage(), and saveTypes().
Referenced by create(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadgeImageTemplate::uploadImage | ( | array | $a_upload_meta | ) |
| array | $a_upload_meta |
| ilFileUtilsException |
Definition at line 131 of file class.ilBadgeImageTemplate.php.
References $filename, $path, getFilePath(), getId(), ilFileUtils\getValidFilename(), setImage(), and update().
Here is the call graph for this function:
|
protected |
Definition at line 16 of file class.ilBadgeImageTemplate.php.
Referenced by create(), delete(), read(), readTypes(), saveTypes(), and update().
|
protected |
Definition at line 18 of file class.ilBadgeImageTemplate.php.
|
protected |
Definition at line 20 of file class.ilBadgeImageTemplate.php.
Referenced by getImage().
|
protected |
Definition at line 19 of file class.ilBadgeImageTemplate.php.
Referenced by getTitle().
|
protected |
Definition at line 21 of file class.ilBadgeImageTemplate.php.
Referenced by getInstances(), getTypes(), and setTypes().