|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilRatingCategory. More...
Collaboration diagram for ilRatingCategory:Public Member Functions | |
| __construct ($a_id=null) | |
| Constructor. More... | |
| setId ($a_value) | |
| Set id. More... | |
| getId () | |
| Get id. More... | |
| setParentId ($a_value) | |
| Set parent id. More... | |
| getParentId () | |
| Get parent object id. More... | |
| setTitle ($a_value) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setDescription ($a_value) | |
| Set description. More... | |
| getDescription () | |
| Get description. More... | |
| setPosition ($a_value) | |
| Set position. More... | |
| getPosition () | |
| Get position. More... | |
| update () | |
| Update db entry. More... | |
| save () | |
| Create db entry. More... | |
Static Public Member Functions | |
| static | delete ($a_id) |
| Delete db entry. More... | |
| static | getAllForObject ($a_parent_obj_id) |
| Get all categories for object. More... | |
| static | deleteForObject ($a_parent_obj_id) |
| Delete all categories for object. More... | |
Protected Member Functions | |
| read ($a_id) | |
| Load db entry. More... | |
| getDBProperties () | |
| Parse properties into db definition. More... | |
Protected Attributes | |
| $db | |
| $id | |
| $parent_id | |
| $title | |
| $description | |
| $pos | |
| ilRatingCategory::__construct | ( | $a_id = null | ) |
Constructor.
| int | $a_id |
Definition at line 33 of file class.ilRatingCategory.php.
Here is the call graph for this function:
|
static |
Delete db entry.
| int | $a_id |
Definition at line 229 of file class.ilRatingCategory.php.
Referenced by ilRatingCategoryGUI\delete(), and deleteForObject().
Here is the caller graph for this function:
|
static |
Delete all categories for object.
| int | $a_parent_obj_id |
Definition at line 276 of file class.ilRatingCategory.php.
References delete().
Here is the call graph for this function:
|
static |
Get all categories for object.
| int | $a_parent_obj_id |
Definition at line 252 of file class.ilRatingCategory.php.
References $DIC, $ilDB, and $row.
Referenced by ilObjWiki\cloneObject(), ilRatingCategoryGUI\delete(), ilRatingCategoryGUI\export(), ilRatingGUI\getBlockHTML(), ilRatingGUI\getHTML(), and ilRatingCategoryTableGUI\getItems().
Here is the caller graph for this function:
|
protected |
Parse properties into db definition.
Definition at line 171 of file class.ilRatingCategory.php.
References getDescription(), getPosition(), and getTitle().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRatingCategory::getDescription | ( | ) |
Get description.
Definition at line 116 of file class.ilRatingCategory.php.
References $description.
Referenced by getDBProperties().
Here is the caller graph for this function:| ilRatingCategory::getId | ( | ) |
Get id.
Definition at line 56 of file class.ilRatingCategory.php.
References $id.
Referenced by update().
Here is the caller graph for this function:| ilRatingCategory::getParentId | ( | ) |
Get parent object id.
Definition at line 76 of file class.ilRatingCategory.php.
References $parent_id.
Referenced by save().
Here is the caller graph for this function:| ilRatingCategory::getPosition | ( | ) |
Get position.
Definition at line 136 of file class.ilRatingCategory.php.
References $pos.
Referenced by getDBProperties().
Here is the caller graph for this function:| ilRatingCategory::getTitle | ( | ) |
Get title.
Definition at line 96 of file class.ilRatingCategory.php.
References $title.
Referenced by getDBProperties().
Here is the caller graph for this function:
|
protected |
Load db entry.
| int | $a_id |
Definition at line 146 of file class.ilRatingCategory.php.
References $db, $ilDB, $row, setDescription(), setId(), setParentId(), setPosition(), and setTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRatingCategory::save | ( | ) |
Create db entry.
Definition at line 202 of file class.ilRatingCategory.php.
References $db, $id, $ilDB, $pos, getDBProperties(), getParentId(), setId(), and setPosition().
Here is the call graph for this function:| ilRatingCategory::setDescription | ( | $a_value | ) |
Set description.
| string | $a_value |
Definition at line 106 of file class.ilRatingCategory.php.
Referenced by read().
Here is the caller graph for this function:| ilRatingCategory::setId | ( | $a_value | ) |
Set id.
| int | $a_value |
Definition at line 46 of file class.ilRatingCategory.php.
Referenced by read(), and save().
Here is the caller graph for this function:| ilRatingCategory::setParentId | ( | $a_value | ) |
Set parent id.
| int | $a_value |
Definition at line 66 of file class.ilRatingCategory.php.
Referenced by read().
Here is the caller graph for this function:| ilRatingCategory::setPosition | ( | $a_value | ) |
Set position.
| int | $a_value |
Definition at line 126 of file class.ilRatingCategory.php.
Referenced by read(), and save().
Here is the caller graph for this function:| ilRatingCategory::setTitle | ( | $a_value | ) |
Set title.
| string | $a_value |
Definition at line 86 of file class.ilRatingCategory.php.
Referenced by read().
Here is the caller graph for this function:| ilRatingCategory::update | ( | ) |
Update db entry.
Definition at line 184 of file class.ilRatingCategory.php.
References $db, $ilDB, getDBProperties(), and getId().
Here is the call graph for this function:
|
protected |
Definition at line 20 of file class.ilRatingCategory.php.
|
protected |
Definition at line 25 of file class.ilRatingCategory.php.
Referenced by getDescription().
|
protected |
Definition at line 22 of file class.ilRatingCategory.php.
|
protected |
Definition at line 23 of file class.ilRatingCategory.php.
Referenced by getParentId().
|
protected |
Definition at line 26 of file class.ilRatingCategory.php.
Referenced by getPosition(), and save().
|
protected |
Definition at line 24 of file class.ilRatingCategory.php.
Referenced by getTitle().