| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilRatingCategory. More...
 Collaboration diagram for ilRatingCategory:
 Collaboration diagram for ilRatingCategory:| Public Member Functions | |
| __construct ($a_id=null) | |
| Constructor. | |
| setId ($a_value) | |
| Set id. | |
| getId () | |
| Get id. | |
| setParentId ($a_value) | |
| Set parent id. | |
| getParentId () | |
| Get parent object id. | |
| setTitle ($a_value) | |
| Set title. | |
| getTitle () | |
| Get title. | |
| setDescription ($a_value) | |
| Set description. | |
| getDescription () | |
| Get description. | |
| setPosition ($a_value) | |
| Set position. | |
| getPosition () | |
| Get position. | |
| update () | |
| Update db entry. | |
| save () | |
| Create db entry. | |
| Static Public Member Functions | |
| static | delete ($a_id) | 
| Delete db entry. | |
| static | getAllForObject ($a_parent_obj_id) | 
| Get all categories for object. | |
| static | deleteForObject ($a_parent_obj_id) | 
| Delete all categories for object. | |
| Protected Member Functions | |
| read ($a_id) | |
| Load db entry. | |
| getDBProperties () | |
| Parse properties into db definition. | |
| Protected Attributes | |
| $id | |
| $parent_id | |
| $title | |
| $description | |
| $pos | |
| ilRatingCategory::__construct | ( | $a_id = null | ) | 
Constructor.
| int | $a_id | 
Definition at line 28 of file class.ilRatingCategory.php.
References read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Delete db entry.
| int | $a_id | 
Definition at line 221 of file class.ilRatingCategory.php.
Referenced by deleteForObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete all categories for object.
| int | $a_parent_obj_id | 
Definition at line 266 of file class.ilRatingCategory.php.
References delete().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get all categories for object.
| int | $a_parent_obj_id | 
Definition at line 243 of file class.ilRatingCategory.php.
References $row.
Referenced by ilObjWiki\cloneObject(), ilRatingCategoryGUI\delete(), ilRatingCategoryGUI\export(), ilRatingGUI\getBlockHTML(), ilRatingGUI\getHTML(), and ilRatingCategoryTableGUI\getItems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Parse properties into db definition.
Definition at line 165 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::getDescription | ( | ) | 
Get description.
Definition at line 108 of file class.ilRatingCategory.php.
References $description.
Referenced by getDBProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::getId | ( | ) | 
Get id.
Definition at line 48 of file class.ilRatingCategory.php.
References $id.
Referenced by update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::getParentId | ( | ) | 
Get parent object id.
Definition at line 68 of file class.ilRatingCategory.php.
References $parent_id.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::getPosition | ( | ) | 
Get position.
Definition at line 128 of file class.ilRatingCategory.php.
References $pos.
Referenced by getDBProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::getTitle | ( | ) | 
Get title.
Definition at line 88 of file class.ilRatingCategory.php.
References $title.
Referenced by getDBProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Load db entry.
| int | $a_id | 
Definition at line 138 of file class.ilRatingCategory.php.
References $row, setDescription(), setId(), setParentId(), setPosition(), and setTitle().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::save | ( | ) | 
Create db entry.
Definition at line 194 of file class.ilRatingCategory.php.
References $id, $pos, getDBProperties(), getParentId(), setId(), and setPosition().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRatingCategory::setDescription | ( | $a_value | ) | 
Set description.
| string | $a_value | 
Definition at line 98 of file class.ilRatingCategory.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::setId | ( | $a_value | ) | 
Set id.
| int | $a_value | 
Definition at line 38 of file class.ilRatingCategory.php.
Referenced by read(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::setParentId | ( | $a_value | ) | 
Set parent id.
| int | $a_value | 
Definition at line 58 of file class.ilRatingCategory.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::setPosition | ( | $a_value | ) | 
Set position.
| int | $a_value | 
Definition at line 118 of file class.ilRatingCategory.php.
Referenced by read(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::setTitle | ( | $a_value | ) | 
Set title.
| string | $a_value | 
Definition at line 78 of file class.ilRatingCategory.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRatingCategory::update | ( | ) | 
Update db entry.
Definition at line 178 of file class.ilRatingCategory.php.
References getDBProperties(), and getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 20 of file class.ilRatingCategory.php.
Referenced by getDescription().
| 
 | protected | 
Definition at line 17 of file class.ilRatingCategory.php.
| 
 | protected | 
Definition at line 18 of file class.ilRatingCategory.php.
Referenced by getParentId().
| 
 | protected | 
Definition at line 21 of file class.ilRatingCategory.php.
Referenced by getPosition(), and save().
| 
 | protected | 
Definition at line 19 of file class.ilRatingCategory.php.
Referenced by getTitle().