ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Badge Template. More...
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.
ilBadgeImageTemplate::create | ( | ) |
Definition at line 235 of file class.ilBadgeImageTemplate.php.
References $db, $id, $ilDB, getId(), getPropertiesForStorage(), saveTypes(), setId(), and update().
Referenced by update().
ilBadgeImageTemplate::delete | ( | ) |
Definition at line 273 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $path, ilUtil\delDir(), getFilePath(), and getId().
|
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().
ilBadgeImageTemplate::getId | ( | ) |
Definition at line 90 of file class.ilBadgeImageTemplate.php.
References $id.
Referenced by create(), delete(), getImagePath(), saveTypes(), update(), and uploadImage().
ilBadgeImageTemplate::getImage | ( | ) |
Definition at line 122 of file class.ilBadgeImageTemplate.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
ilBadgeImageTemplate::getImagePath | ( | ) |
Definition at line 151 of file class.ilBadgeImageTemplate.php.
References getFilePath(), getId(), and getImage().
Referenced by ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
|
static |
Definition at line 39 of file class.ilBadgeImageTemplate.php.
References $DIC, $ilDB, $res, $row, and $types.
Referenced by ilBadgeImageTemplateTableGUI\getItems().
|
static |
Definition at line 66 of file class.ilBadgeImageTemplate.php.
References $res.
Referenced by ilBadgeManagementGUI\initBadgeForm().
|
protected |
Definition at line 288 of file class.ilBadgeImageTemplate.php.
References getImage(), and getTitle().
Referenced by create(), and update().
ilBadgeImageTemplate::getTitle | ( | ) |
Definition at line 100 of file class.ilBadgeImageTemplate.php.
References $title.
Referenced by getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
ilBadgeImageTemplate::getTypes | ( | ) |
Definition at line 110 of file class.ilBadgeImageTemplate.php.
References $types.
Referenced by saveTypes(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
|
protected |
Definition at line 227 of file class.ilBadgeImageTemplate.php.
References setId(), setImage(), setTitle(), and setTypes().
Referenced by read().
|
protected |
Definition at line 195 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $row, importDBRow(), and readTypes().
Referenced by __construct().
|
protected |
|
protected |
Definition at line 296 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $type, getId(), and getTypes().
Referenced by create(), and update().
|
protected |
Definition at line 85 of file class.ilBadgeImageTemplate.php.
Referenced by create(), and importDBRow().
|
protected |
Definition at line 105 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow(), and uploadImage().
ilBadgeImageTemplate::setTitle | ( | $a_value | ) |
Definition at line 95 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
ilBadgeImageTemplate::setTypes | ( | array | $types = null | ) |
Definition at line 115 of file class.ilBadgeImageTemplate.php.
References $types.
Referenced by importDBRow().
ilBadgeImageTemplate::update | ( | ) |
Definition at line 254 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, create(), getId(), getPropertiesForStorage(), and saveTypes().
Referenced by create(), and uploadImage().
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().
|
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().