ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilRatingCategory. More...
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().
|
static |
Delete db entry.
int | $a_id |
Definition at line 221 of file class.ilRatingCategory.php.
References $ilDB.
Referenced by deleteForObject().
|
static |
Delete all categories for object.
int | $a_parent_obj_id |
Definition at line 266 of file class.ilRatingCategory.php.
References delete().
|
static |
Get all categories for object.
int | $a_parent_obj_id |
Definition at line 243 of file class.ilRatingCategory.php.
Referenced by ilObjWiki\cloneObject(), ilRatingCategoryGUI\delete(), ilRatingCategoryGUI\export(), ilRatingGUI\getBlockHTML(), ilRatingGUI\getHTML(), and ilRatingCategoryTableGUI\getItems().
|
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().
ilRatingCategory::getDescription | ( | ) |
Get description.
Definition at line 108 of file class.ilRatingCategory.php.
References $description.
Referenced by getDBProperties().
ilRatingCategory::getId | ( | ) |
Get id.
Definition at line 48 of file class.ilRatingCategory.php.
References $id.
Referenced by update().
ilRatingCategory::getParentId | ( | ) |
Get parent object id.
Definition at line 68 of file class.ilRatingCategory.php.
References $parent_id.
Referenced by save().
ilRatingCategory::getPosition | ( | ) |
Get position.
Definition at line 128 of file class.ilRatingCategory.php.
References $pos.
Referenced by getDBProperties().
ilRatingCategory::getTitle | ( | ) |
Get title.
Definition at line 88 of file class.ilRatingCategory.php.
References $title.
Referenced by getDBProperties().
|
protected |
Load db entry.
int | $a_id |
Definition at line 138 of file class.ilRatingCategory.php.
References $ilDB, $row, setDescription(), setId(), setParentId(), setPosition(), and setTitle().
Referenced by __construct().
ilRatingCategory::save | ( | ) |
Create db entry.
Definition at line 194 of file class.ilRatingCategory.php.
References $id, $ilDB, $pos, getDBProperties(), getParentId(), setId(), and setPosition().
ilRatingCategory::setDescription | ( | $a_value | ) |
Set description.
string | $a_value |
Definition at line 98 of file class.ilRatingCategory.php.
Referenced by read().
ilRatingCategory::setId | ( | $a_value | ) |
Set id.
int | $a_value |
Definition at line 38 of file class.ilRatingCategory.php.
Referenced by read(), and save().
ilRatingCategory::setParentId | ( | $a_value | ) |
Set parent id.
int | $a_value |
Definition at line 58 of file class.ilRatingCategory.php.
Referenced by read().
ilRatingCategory::setPosition | ( | $a_value | ) |
Set position.
int | $a_value |
Definition at line 118 of file class.ilRatingCategory.php.
Referenced by read(), and save().
ilRatingCategory::setTitle | ( | $a_value | ) |
Set title.
string | $a_value |
Definition at line 78 of file class.ilRatingCategory.php.
Referenced by read().
ilRatingCategory::update | ( | ) |
Update db entry.
Definition at line 178 of file class.ilRatingCategory.php.
References $ilDB, getDBProperties(), and getId().
|
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().