ILIAS
release_4-3 Revision
|
Storage of course attributes for assignment rules. More...
Public Member Functions | |
__construct ($a_server_id, $a_mid) | |
Constructor. | |
getAttributes () | |
Get current attributes. | |
getFirstAttribute () | |
Get first defined attribute. | |
getFirstAttributeName () | |
Get first attribute name. | |
getAttributeSequence ($a_last_attribute) | |
Get attribute sequence. | |
getUpperAttributes ($a_name) | |
Get upper attributes in hierarchy. | |
getNextAttributeName ($a_name) | |
Get next attribute name in sequence. | |
getPreviousAttributeName ($a_name) | |
Get next attribute name in sequence. | |
getAttributeValues () | |
Get active attribute values. | |
delete () | |
Delete all mappings. |
Static Public Member Functions | |
static | getInstance ($a_server_id, $a_mid) |
Get instance. |
Protected Member Functions | |
read () | |
Read attributes type $ilDB. |
Private Attributes | |
$server_id = 0 | |
$mid = 0 | |
$attributes = array() |
Static Private Attributes | |
static | $instances = null |
Storage of course attributes for assignment rules.
Definition at line 12 of file class.ilECSCourseAttributes.php.
ilECSCourseAttributes::__construct | ( | $a_server_id, | |
$a_mid | |||
) |
Constructor.
Definition at line 24 of file class.ilECSCourseAttributes.php.
References read().
ilECSCourseAttributes::delete | ( | ) |
Delete all mappings.
Definition at line 199 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getAttributes | ( | ) |
Get current attributes.
Definition at line 51 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.
type | $a_last_attribute |
Definition at line 87 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getAttributeValues | ( | ) |
Get active attribute values.
Definition at line 186 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getFirstAttribute | ( | ) |
Get first defined attribute.
Definition at line 60 of file class.ilECSCourseAttributes.php.
References getAttributes().
Referenced by getFirstAttributeName().
ilECSCourseAttributes::getFirstAttributeName | ( | ) |
Get first attribute name.
Definition at line 73 of file class.ilECSCourseAttributes.php.
References getFirstAttribute().
Referenced by getNextAttributeName().
|
static |
Get instance.
type | $a_server_id | |
type | $a_mid |
Definition at line 38 of file class.ilECSCourseAttributes.php.
Referenced by ilECSMappingSettingsGUI\cAddAttribute(), ilECSMappingSettingsGUI\cAttributes(), ilECSMappingSettingsGUI\cDeleteAttribute(), ilECSMappingSettingsGUI\cInitMappingForm(), ilECSMappingSettingsGUI\initFormCSettings(), and ilECSMappingSettingsGUI\setSubTabs().
ilECSCourseAttributes::getNextAttributeName | ( | $a_name | ) |
Get next attribute name in sequence.
string | $a_name |
Definition at line 134 of file class.ilECSCourseAttributes.php.
References getAttributes(), and getFirstAttributeName().
ilECSCourseAttributes::getPreviousAttributeName | ( | $a_name | ) |
Get next attribute name in sequence.
string | $a_name |
Definition at line 160 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getUpperAttributes | ( | $a_name | ) |
Get upper attributes in hierarchy.
type | $a_name |
Definition at line 109 of file class.ilECSCourseAttributes.php.
References getAttributes().
|
protected |
Read attributes type $ilDB.
Definition at line 213 of file class.ilECSCourseAttributes.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
|
private |
Definition at line 19 of file class.ilECSCourseAttributes.php.
Referenced by getAttributes().
|
staticprivate |
Definition at line 14 of file class.ilECSCourseAttributes.php.
|
private |
Definition at line 17 of file class.ilECSCourseAttributes.php.
|
private |
Definition at line 16 of file class.ilECSCourseAttributes.php.