ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Storage of course attributes for assignment rules. More...
Public Member Functions | |
__construct ($a_server_id, $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 ($a_name) | |
Get next attribute name in sequence. More... | |
getPreviousAttributeName ($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 ($a_server_id, $a_mid) |
Get instance. More... | |
Protected Member Functions | |
read () | |
Read attributes type $ilDB. More... | |
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 181 of file class.ilECSCourseAttributes.php.
References array, and getAttributes().
ilECSCourseAttributes::getAttributes | ( | ) |
Get current attributes.
Definition at line 50 of file class.ilECSCourseAttributes.php.
References $attributes, and array.
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 84 of file class.ilECSCourseAttributes.php.
References array, and getAttributes().
ilECSCourseAttributes::getAttributeValues | ( | ) |
Get active attribute values.
Definition at line 169 of file class.ilECSCourseAttributes.php.
References array, and getAttributes().
ilECSCourseAttributes::getFirstAttribute | ( | ) |
Get first defined attribute.
Definition at line 59 of file class.ilECSCourseAttributes.php.
References getAttributes().
Referenced by getFirstAttributeName().
ilECSCourseAttributes::getFirstAttributeName | ( | ) |
Get first attribute name.
Definition at line 71 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 125 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 147 of file class.ilECSCourseAttributes.php.
References getAttributes().
ilECSCourseAttributes::getUpperAttributes | ( | $a_name | ) |
Get upper attributes in hierarchy.
type | $a_name |
Definition at line 103 of file class.ilECSCourseAttributes.php.
References array, and getAttributes().
|
protected |
Read attributes type $ilDB.
Definition at line 194 of file class.ilECSCourseAttributes.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\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.