18 declare(strict_types=1);
    43         $this->db = $DIC->database();
    45         $this->server_id = $a_server_id;
    56         $id = $a_server_id . 
'_' . $a_mid;
    92         if (!$a_last_attribute) {
    97             $sequence[] = $att->getName();
    98             if ($a_last_attribute === $att->getName()) {
   114         foreach ($reverse_attributes as $att) {
   115             if ($att->getName() === $a_name) {
   120                 $upper[] = $att->getName();
   123         return array_reverse($upper);
   136             if ($a_name === $att->getName()) {
   141                 return $att->getName();
   157         foreach ($reverse_attributes as $att) {
   158             if ($a_name === $att->getName()) {
   163                 return $att->getName();
   176             $values[] = $att->getName();
   184     public function delete(): 
void   189         $this->attributes = [];
   196     protected function read(): void
   198         $this->attributes = [];
   200         $query = 
'SELECT * FROM ecs_crs_mapping_atts ' .
   201                 'WHERE sid = ' . $this->db->quote($this->server_id, 
'integer') . 
' ' .
   202                 'AND mid = ' . $this->db->quote($this->mid, 
'integer') . 
' ' .
   204         $res = $this->db->query($query);
 
__construct(int $a_server_id, int $a_mid)
Constructor. 
 
static getInstance(int $a_server_id, int $a_mid)
Get instance. 
 
getNextAttributeName(string $a_name)
Get next attribute name in sequence. 
 
getAttributeValues()
Get active attribute values. 
 
getFirstAttributeName()
Get first attribute name. 
 
getAttributeSequence($a_last_attribute)
Get attribute sequence. 
 
getFirstAttribute()
Get first defined attribute. 
 
getAttributes()
Get current attributes. 
 
getUpperAttributes($a_name)
Get upper attributes in hierarchy. 
 
Storage of course attributes for assignment rules. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
Storage of course attributes for assignment rules. 
 
getPreviousAttributeName(string $a_name)
Get next attribute name in sequence.