ILIAS
release_8 Revision v8.19
|
Storage of course attributes for assignment rules. More...
Public Member Functions | |
__construct (int $a_id=0) | |
Constructor. More... | |
getId () | |
Get id. More... | |
setServerId (int $a_server_id) | |
getServerId () | |
setMid (int $a_mid) | |
getMid () | |
setName (string $a_name) | |
getName () | |
Get name. More... | |
delete () | |
Delete attribute. More... | |
save () | |
Save a new entry. More... | |
Protected Member Functions | |
read () | |
read active attributes More... | |
Private Attributes | |
int | $id |
int | $server_id = 0 |
int | $mid = 0 |
string | $name = '' |
ilDBInterface | $db |
Storage of course attributes for assignment rules.
Definition at line 25 of file class.ilECSCourseAttribute.php.
ilECSCourseAttribute::__construct | ( | int | $a_id = 0 | ) |
Constructor.
Definition at line 37 of file class.ilECSCourseAttribute.php.
ilECSCourseAttribute::delete | ( | ) |
Delete attribute.
Definition at line 93 of file class.ilECSCourseAttribute.php.
References $query, and getId().
ilECSCourseAttribute::getId | ( | ) |
ilECSCourseAttribute::getMid | ( | ) |
Definition at line 71 of file class.ilECSCourseAttribute.php.
References $mid.
Referenced by save().
ilECSCourseAttribute::getName | ( | ) |
Get name.
Definition at line 85 of file class.ilECSCourseAttribute.php.
References $name.
Referenced by save().
ilECSCourseAttribute::getServerId | ( | ) |
Definition at line 61 of file class.ilECSCourseAttribute.php.
References $server_id.
Referenced by save().
|
protected |
read active attributes
Definition at line 124 of file class.ilECSCourseAttribute.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getId(), and setName().
Referenced by __construct().
ilECSCourseAttribute::save | ( | ) |
Save a new entry.
Definition at line 104 of file class.ilECSCourseAttribute.php.
References $query, getId(), getMid(), getName(), and getServerId().
ilECSCourseAttribute::setMid | ( | int | $a_mid | ) |
Definition at line 66 of file class.ilECSCourseAttribute.php.
ilECSCourseAttribute::setName | ( | string | $a_name | ) |
Definition at line 77 of file class.ilECSCourseAttribute.php.
Referenced by read().
ilECSCourseAttribute::setServerId | ( | int | $a_server_id | ) |
Definition at line 56 of file class.ilECSCourseAttribute.php.
|
private |
Definition at line 32 of file class.ilECSCourseAttribute.php.
|
private |
Definition at line 27 of file class.ilECSCourseAttribute.php.
Referenced by getId().
|
private |
Definition at line 29 of file class.ilECSCourseAttribute.php.
Referenced by getMid().
|
private |
Definition at line 30 of file class.ilECSCourseAttribute.php.
Referenced by getName().
|
private |
Definition at line 28 of file class.ilECSCourseAttribute.php.
Referenced by getServerId().