ILIAS
release_8 Revision v8.19
|
Storage of course attributes for assignment rules. More...
Public Member Functions | |
__construct (int $a_server_id, int $a_mid) | |
Constructor. More... | |
getAttributes () | |
Get current attributes. More... | |
getFirstAttribute () | |
Get first defined attribute. More... | |
getFirstAttributeName () | |
Get first attribute name. More... | |
getAttributeSequence ($a_last_attribute) | |
Get attribute sequence. More... | |
getUpperAttributes ($a_name) | |
Get upper attributes in hierarchy. More... | |
getNextAttributeName (string $a_name) | |
Get next attribute name in sequence. More... | |
getPreviousAttributeName (string $a_name) | |
Get next attribute name in sequence. More... | |
getAttributeValues () | |
Get active attribute values. More... | |
delete () | |
Delete all mappings. More... | |
Static Public Member Functions | |
static | getInstance (int $a_server_id, int $a_mid) |
Get instance. More... | |
Protected Member Functions | |
read () | |
Read attributes. More... | |
Private Attributes | |
int | $server_id |
int | $mid |
array | $attributes = array() |
ilDBInterface | $db |
Static Private Attributes | |
static array | $instances = null |
Storage of course attributes for assignment rules.
Definition at line 25 of file class.ilECSCourseAttributes.php.
ilECSCourseAttributes::__construct | ( | int | $a_server_id, |
int | $a_mid | ||
) |
Constructor.
Definition at line 39 of file class.ilECSCourseAttributes.php.
ilECSCourseAttributes::delete | ( | ) |
Delete all mappings.
Definition at line 184 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getAttributes | ( | ) |
Get current attributes.
Definition at line 63 of file class.ilECSCourseAttributes.php.
References $attributes.
Referenced by delete(), getAttributeSequence(), getAttributeValues(), getFirstAttribute(), getNextAttributeName(), getPreviousAttributeName(), and getUpperAttributes().
ilECSCourseAttributes::getAttributeSequence | ( | $a_last_attribute | ) |
Get attribute sequence.
Definition at line 90 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getAttributeValues | ( | ) |
Get active attribute values.
Definition at line 172 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getFirstAttribute | ( | ) |
Get first defined attribute.
Definition at line 71 of file class.ilECSCourseAttributes.php.
References getAttributes().
Referenced by getFirstAttributeName().
ilECSCourseAttributes::getFirstAttributeName | ( | ) |
Get first attribute name.
Definition at line 79 of file class.ilECSCourseAttributes.php.
References getFirstAttribute().
Referenced by getNextAttributeName().
|
static |
Get instance.
Definition at line 54 of file class.ilECSCourseAttributes.php.
References $id.
Referenced by ilECSMappingSettingsGUI\cAddAttribute(), ilECSMappingSettingsGUI\cDeleteAttribute(), ilECSMappingSettingsGUI\cInitMappingForm(), and ilECSMappingSettingsGUI\initFormCSettings().
ilECSCourseAttributes::getNextAttributeName | ( | string | $a_name | ) |
Get next attribute name in sequence.
Definition at line 129 of file class.ilECSCourseAttributes.php.
References getAttributes(), and getFirstAttributeName().
ilECSCourseAttributes::getPreviousAttributeName | ( | string | $a_name | ) |
Get next attribute name in sequence.
Definition at line 150 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getUpperAttributes | ( | $a_name | ) |
Get upper attributes in hierarchy.
Definition at line 108 of file class.ilECSCourseAttributes.php.
References getAttributes().
|
protected |
Read attributes.
Definition at line 196 of file class.ilECSCourseAttributes.php.
References $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilECSCourseAttributes.php.
Referenced by getAttributes().
|
private |
Definition at line 34 of file class.ilECSCourseAttributes.php.
|
staticprivate |
Definition at line 27 of file class.ilECSCourseAttributes.php.
|
private |
Definition at line 30 of file class.ilECSCourseAttributes.php.
|
private |
Definition at line 29 of file class.ilECSCourseAttributes.php.