ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilECSCourseMappingRule Class Reference

Description of class. More...

+ Collaboration diagram for ilECSCourseMappingRule:

Public Member Functions

 __construct ($a_rid=0)
 Constructor. More...
 
 doMapping ($course, $parent_ref)
 Do mapping. More...
 
 matches ($course)
 Check if rule matches. More...
 
 setRuleId ($a_rule_id)
 
 getRuleId ()
 
 setServerId ($a_server_id)
 
 getServerId ()
 
 setMid ($a_mid)
 
 getMid ()
 
 setAttribute ($a_att)
 
 getAttribute ()
 
 setRefId ($a_ref_id)
 
 getRefId ()
 
 enableFilter ($a_status)
 
 isFilterEnabled ()
 
 setFilter ($a_filter)
 
 getFilter ()
 
 enableSubdirCreation ($a_stat)
 
 isSubdirCreationEnabled ()
 
 setSubDirectoryType ($a_type)
 
 getSubDirectoryType ()
 
 setDirectory ($a_dir)
 
 getDirectory ()
 
 delete ()
 
 save ()
 Save a new rule @global type $ilDB. More...
 
 update ()
 Update mapping rule @global type $ilDB. More...
 

Static Public Member Functions

static lookupLastExistingAttribute ($a_sid, $a_mid, $a_ref_id)
 Lookup existing attributes. More...
 
static getRuleRefIds ($a_sid, $a_mid)
 
static getRulesOfRefId ($a_sid, $a_mid, $a_ref_id)
 Get all rule of ref_id @global type $ilDB. More...
 
static hasRules ($a_sid, $a_mid, $a_ref_id)
 
static isMatching ($course, $a_sid, $a_mid, $a_ref_id)
 Check if rule matches. More...
 
static doMappings ($course, $a_sid, $a_mid, $a_ref_id)
 
static getInstanceByAttribute ($a_sid, $a_mid, $a_ref_id, $a_att)
 Get rule instance by attribute @global type $ilDB. More...
 

Data Fields

const SUBDIR_ATTRIBUTE_NAME = 1
 
const SUBDIR_VALUE = 2
 

Protected Member Functions

 read ()
 Read db entries. More...
 

Private Attributes

 $rid
 
 $sid
 
 $mid
 
 $attribute
 
 $ref_id
 
 $is_filter = false
 
 $filter
 
 $create_subdir = true
 
 $subdir_type = self::SUBDIR_VALUE
 
 $directory = ''
 

Detailed Description

Description of class.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 10 of file class.ilECSCourseMappingRule.php.

Constructor & Destructor Documentation

◆ __construct()

ilECSCourseMappingRule::__construct (   $a_rid = 0)

Constructor.

Parameters
int$a_rid

Definition at line 31 of file class.ilECSCourseMappingRule.php.

32 {
33 $this->rid = $a_rid;
34 $this->read();
35 }

References read().

+ Here is the call graph for this function:

Member Function Documentation

◆ delete()

ilECSCourseMappingRule::delete ( )

Definition at line 379 of file class.ilECSCourseMappingRule.php.

380 {
381 global $ilDB;
382
383 $query = 'DELETE from ecs_cmap_rule '.
384 'WHERE rid = '.$ilDB->quote($this->getRuleId(),'integer');
385 $ilDB->manipulate($query);
386 return true;
387 }
global $ilDB

References $ilDB, $query, and getRuleId().

+ Here is the call graph for this function:

◆ doMapping()

ilECSCourseMappingRule::doMapping (   $course,
  $parent_ref 
)

Do mapping.

Parameters
type$course
type$parent_ref

Definition at line 189 of file class.ilECSCourseMappingRule.php.

190 {
191 global $tree;
192
193 if(!$this->isSubdirCreationEnabled())
194 {
195 return $parent_ref;
196 }
197 include_once './Services/WebServices/ECS/classes/Mapping/class.ilECSMappingUtils.php';
199
200 $childs = $tree->getChildsByType($parent_ref,'cat');
201
202 $existing_ref = 0;
203 foreach((array) $childs as $child)
204 {
205 if(strcmp($child['title'], $value) === 0)
206 {
207 $existing_ref = $child['child'];
208 break;
209 }
210 }
211 if(!$existing_ref)
212 {
213 // Create category
214 include_once './Modules/Category/classes/class.ilObjCategory.php';
215 $cat = new ilObjCategory();
216 $cat->setTitle($value);
217 $cat->create();
218 $cat->createReference();
219 $cat->putInTree($parent_ref);
220 $cat->setPermissions($parent_ref);
221 $cat->deleteTranslation($GLOBALS['lng']->getDefaultLanguage());
222 $cat->addTranslation(
223 $value,
224 $cat->getLongDescription(),
225 $GLOBALS['lng']->getDefaultLanguage(),
226 1
227 );
228 return $cat->getRefId();
229 }
230 return $existing_ref;
231 }
static getCourseValueByMappingAttribute($course, $a_field)
Get course value by mapping.
Class ilObjCategory.
$GLOBALS['PHPCAS_CLIENT']
This global variable is used by the interface class phpCAS.
Definition: CAS.php:276

References $GLOBALS, getAttribute(), ilECSMappingUtils\getCourseValueByMappingAttribute(), and isSubdirCreationEnabled().

+ Here is the call graph for this function:

◆ doMappings()

static ilECSCourseMappingRule::doMappings (   $course,
  $a_sid,
  $a_mid,
  $a_ref_id 
)
static
Parameters
type$course
type$a_sid
type$a_mid
type$a_ref_id

Definition at line 159 of file class.ilECSCourseMappingRule.php.

160 {
161 global $ilDB;
162
163 $query = 'SELECT rid FROM ecs_cmap_rule '.
164 'WHERE sid = '.$ilDB->quote($a_sid,'integer'). ' '.
165 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
166 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer').' '.
167 'ORDER BY rid';
168 $res = $ilDB->query($query);
169
170 $first = true;
171 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
172 {
173 $rule = new ilECSCourseMappingRule($row->rid);
174 if($first)
175 {
176 $parent_ref = $rule->getRefId();
177 }
178 $parent_ref = $rule->doMapping($course,$parent_ref);
179 $first = false;
180 }
181 return $parent_ref;
182 }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSCourseCreationHandler\doAttributeMapping().

+ Here is the caller graph for this function:

◆ enableFilter()

ilECSCourseMappingRule::enableFilter (   $a_status)

Definition at line 329 of file class.ilECSCourseMappingRule.php.

330 {
331 $this->is_filter = $a_status;
332 }

Referenced by read().

+ Here is the caller graph for this function:

◆ enableSubdirCreation()

ilECSCourseMappingRule::enableSubdirCreation (   $a_stat)

Definition at line 349 of file class.ilECSCourseMappingRule.php.

350 {
351 $this->create_subdir = $a_stat;
352 }

Referenced by read().

+ Here is the caller graph for this function:

◆ getAttribute()

ilECSCourseMappingRule::getAttribute ( )

Definition at line 314 of file class.ilECSCourseMappingRule.php.

References $attribute.

Referenced by doMapping(), matches(), save(), and update().

+ Here is the caller graph for this function:

◆ getDirectory()

ilECSCourseMappingRule::getDirectory ( )

Definition at line 374 of file class.ilECSCourseMappingRule.php.

References $directory.

Referenced by save(), and update().

+ Here is the caller graph for this function:

◆ getFilter()

ilECSCourseMappingRule::getFilter ( )

Definition at line 344 of file class.ilECSCourseMappingRule.php.

References $filter.

Referenced by matches(), save(), and update().

+ Here is the caller graph for this function:

◆ getInstanceByAttribute()

static ilECSCourseMappingRule::getInstanceByAttribute (   $a_sid,
  $a_mid,
  $a_ref_id,
  $a_att 
)
static

Get rule instance by attribute @global type $ilDB.

Parameters
type$a_sid
type$a_mid
type$a_ref_id
type$a_att
Returns
\ilECSCourseMappingRule

Definition at line 261 of file class.ilECSCourseMappingRule.php.

262 {
263 global $ilDB;
264
265 $query = 'SELECT rid FROM ecs_cmap_rule '.
266 'WHERE sid = '.$ilDB->quote($a_sid,'integer').' '.
267 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
268 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer').' '.
269 'AND attribute = '.$ilDB->quote($a_att,'text');
270
271 $res = $ilDB->query($query);
272 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
273 {
274 return new ilECSCourseMappingRule($row->rid);
275 }
276 return new ilECSCourseMappingRule();
277 }

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSMappingSettingsGUI\cInitMappingForm(), and ilECSMappingSettingsGUI\cSaveOverview().

+ Here is the caller graph for this function:

◆ getMid()

ilECSCourseMappingRule::getMid ( )

Definition at line 304 of file class.ilECSCourseMappingRule.php.

References $mid.

Referenced by save().

+ Here is the caller graph for this function:

◆ getRefId()

ilECSCourseMappingRule::getRefId ( )

Definition at line 324 of file class.ilECSCourseMappingRule.php.

References $ref_id.

Referenced by save(), and update().

+ Here is the caller graph for this function:

◆ getRuleId()

ilECSCourseMappingRule::getRuleId ( )

Definition at line 284 of file class.ilECSCourseMappingRule.php.

References $rid.

Referenced by delete(), read(), save(), and update().

+ Here is the caller graph for this function:

◆ getRuleRefIds()

static ilECSCourseMappingRule::getRuleRefIds (   $a_sid,
  $a_mid 
)
static
Parameters
type$a_sid
type$a_mid

Definition at line 66 of file class.ilECSCourseMappingRule.php.

67 {
68 global $ilDB;
69
70 $query = 'SELECT DISTINCT(ref_id) ref_id, rid FROM ecs_cmap_rule '.
71 'WHERE sid = '.$ilDB->quote($a_sid,'integer').' '.
72 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
73 'GROUP BY ref_id'.' '.
74 'ORDER BY rid';
75
76 $res = $ilDB->query($query);
77 $ref_ids = array();
78 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
79 {
80 $ref_ids[] = $row->ref_id;
81 }
82 return $ref_ids;
83 }

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSCourseCreationHandler\doAttributeMapping(), and ilECSNodeMappingLocalExplorer\initMappings().

+ Here is the caller graph for this function:

◆ getRulesOfRefId()

static ilECSCourseMappingRule::getRulesOfRefId (   $a_sid,
  $a_mid,
  $a_ref_id 
)
static

Get all rule of ref_id @global type $ilDB.

Parameters
type$a_sid
type$a_mid
type$a_ref_id

Definition at line 92 of file class.ilECSCourseMappingRule.php.

93 {
94 global $ilDB;
95
96 $query = 'SELECT rid FROM ecs_cmap_rule '.
97 'WHERE sid = '.$ilDB->quote($a_sid,'integer').' '.
98 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
99 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer');
100 $res = $ilDB->query($query);
101 $rids = array();
102 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
103 {
104 $rids = $row->rid;
105 }
106 return (array) $rids;
107 }

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSMappingSettingsGUI\cDeleteRulesOfNode().

+ Here is the caller graph for this function:

◆ getServerId()

ilECSCourseMappingRule::getServerId ( )

Definition at line 294 of file class.ilECSCourseMappingRule.php.

References $sid.

Referenced by save().

+ Here is the caller graph for this function:

◆ getSubDirectoryType()

ilECSCourseMappingRule::getSubDirectoryType ( )

Definition at line 364 of file class.ilECSCourseMappingRule.php.

References SUBDIR_VALUE.

Referenced by save(), and update().

+ Here is the caller graph for this function:

◆ hasRules()

static ilECSCourseMappingRule::hasRules (   $a_sid,
  $a_mid,
  $a_ref_id 
)
static

Definition at line 109 of file class.ilECSCourseMappingRule.php.

110 {
111 global $ilDB;
112
113 $query = 'SELECT ref_id FROM ecs_cmap_rule '.
114 'WHERE sid = '.$ilDB->quote($a_sid,'integer').' '.
115 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
116 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer');
117 $res = $ilDB->query($query);
118 return $res->numRows() ? true : false;
119 }

References $ilDB, $query, and $res.

Referenced by ilECSMappingSettingsGUI\cInitMappingForm().

+ Here is the caller graph for this function:

◆ isFilterEnabled()

ilECSCourseMappingRule::isFilterEnabled ( )

Definition at line 334 of file class.ilECSCourseMappingRule.php.

References $is_filter.

Referenced by matches(), save(), and update().

+ Here is the caller graph for this function:

◆ isMatching()

static ilECSCourseMappingRule::isMatching (   $course,
  $a_sid,
  $a_mid,
  $a_ref_id 
)
static

Check if rule matches.

Parameters
type$course
type$a_start_rule_id

Definition at line 126 of file class.ilECSCourseMappingRule.php.

127 {
128 global $ilDB;
129
130 $query = 'SELECT rid FROM ecs_cmap_rule '.
131 'WHERE sid = '.$ilDB->quote($a_sid,'integer'). ' '.
132 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
133 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer').' '.
134 'ORDER BY rid';
135 $res = $ilDB->query($query);
136 $matches = false;
137 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
138 {
139 $rule = new ilECSCourseMappingRule($row->rid);
140 if(!$rule->matches($course))
141 {
142 return false;
143 }
144 else
145 {
146 $matches = true;
147 }
148 }
149 return $matches;
150 }

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSCourseCreationHandler\doAttributeMapping().

+ Here is the caller graph for this function:

◆ isSubdirCreationEnabled()

ilECSCourseMappingRule::isSubdirCreationEnabled ( )

Definition at line 354 of file class.ilECSCourseMappingRule.php.

References $create_subdir.

Referenced by doMapping(), save(), and update().

+ Here is the caller graph for this function:

◆ lookupLastExistingAttribute()

static ilECSCourseMappingRule::lookupLastExistingAttribute (   $a_sid,
  $a_mid,
  $a_ref_id 
)
static

Lookup existing attributes.

Parameters
type$a_attributes
Returns
array

Definition at line 42 of file class.ilECSCourseMappingRule.php.

43 {
44 global $ilDB;
45
46 $query = 'SELECT attribute FROM ecs_cmap_rule '.
47 'WHERE sid = '.$ilDB->quote($a_sid,'integer').' '.
48 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
49 'AND ref_id = '.$ilDB->quote($a_ref_id,'integer').' '.
50 'ORDER BY rid ';
51 $res = $ilDB->query($query);
52
53 $attributes = array();
54 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
55 {
56 $attributes = $row->attribute;
57 }
58 return $attributes;
59 }

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilECSMappingSettingsGUI\cInitOverview().

+ Here is the caller graph for this function:

◆ matches()

ilECSCourseMappingRule::matches (   $course)

Check if rule matches.

Parameters
type$course
Returns
boolean

Definition at line 239 of file class.ilECSCourseMappingRule.php.

240 {
241 if($this->isFilterEnabled())
242 {
243 include_once './Services/WebServices/ECS/classes/Mapping/class.ilECSMappingUtils.php';
245 $GLOBALS['ilLog']->write(__METHOD__.': Comparing '. $value . ' with ' . $this->getFilter());
246 return strcmp($value, $this->getFilter()) === 0;
247 }
248 return true;
249 }

References $GLOBALS, getAttribute(), ilECSMappingUtils\getCourseValueByMappingAttribute(), getFilter(), and isFilterEnabled().

+ Here is the call graph for this function:

◆ read()

ilECSCourseMappingRule::read ( )
protected

Read db entries.

Definition at line 441 of file class.ilECSCourseMappingRule.php.

442 {
443 global $ilDB;
444
445 if(!$this->getRuleId())
446 {
447 return true;
448 }
449 $query = 'SELECT * from ecs_cmap_rule '.' '.
450 'WHERE rid = '.$ilDB->quote($this->getRuleId(),'integer');
451 $res = $ilDB->query($query);
452 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
453 {
454 $this->setServerId($row->sid);
455 $this->setMid($row->mid);
456 $this->setRefId($row->ref_id);
457 $this->setAttribute($row->attribute);
458 $this->enableFilter($row->is_filter);
459 $this->setFilter($row->filter);
460 $this->enableSubdirCreation($row->create_subdir);
461 $this->setSubDirectoryType($row->subdir_type);
462 $this->setDirectory($row->directory);
463 }
464 }

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, enableFilter(), enableSubdirCreation(), getRuleId(), setAttribute(), setDirectory(), setFilter(), setMid(), setRefId(), setServerId(), and setSubDirectoryType().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilECSCourseMappingRule::save ( )

Save a new rule @global type $ilDB.

Returns
boolean

Definition at line 394 of file class.ilECSCourseMappingRule.php.

395 {
396 global $ilDB;
397
398 $this->setRuleId($ilDB->nextId('ecs_cmap_rule'));
399 $query = 'INSERT INTO ecs_cmap_rule '.
400 '(rid,sid,mid,attribute,ref_id,is_filter,filter,create_subdir,subdir_type,directory) '.
401 'VALUES ('.
402 $ilDB->quote($this->getRuleId(),'integer').', '.
403 $ilDB->quote($this->getServerId(),'integer').', '.
404 $ilDB->quote($this->getMid(),'integer').', '.
405 $ilDB->quote($this->getAttribute(),'text').', '.
406 $ilDB->quote($this->getRefId(),'integer').', '.
407 $ilDB->quote($this->isFilterEnabled(),'integer').', '.
408 $ilDB->quote($this->getFilter(),'text').', '.
409 $ilDB->quote($this->isSubdirCreationEnabled(),'integer').', '.
410 $ilDB->quote($this->getSubDirectoryType(),'integer').', '.
411 $ilDB->quote($this->getDirectory(),'text').' '.
412 ')';
413 $ilDB->manipulate($query);
414 return $this->getRuleId();
415 }

References $ilDB, $query, getAttribute(), getDirectory(), getFilter(), getMid(), getRefId(), getRuleId(), getServerId(), getSubDirectoryType(), isFilterEnabled(), isSubdirCreationEnabled(), and setRuleId().

+ Here is the call graph for this function:

◆ setAttribute()

ilECSCourseMappingRule::setAttribute (   $a_att)

Definition at line 309 of file class.ilECSCourseMappingRule.php.

310 {
311 $this->attribute = $a_att;
312 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setDirectory()

ilECSCourseMappingRule::setDirectory (   $a_dir)

Definition at line 369 of file class.ilECSCourseMappingRule.php.

370 {
371 $this->directory = $a_dir;
372 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setFilter()

ilECSCourseMappingRule::setFilter (   $a_filter)

Definition at line 339 of file class.ilECSCourseMappingRule.php.

340 {
341 $this->filter = $a_filter;
342 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setMid()

ilECSCourseMappingRule::setMid (   $a_mid)

Definition at line 299 of file class.ilECSCourseMappingRule.php.

300 {
301 $this->mid = $a_mid;
302 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setRefId()

ilECSCourseMappingRule::setRefId (   $a_ref_id)

Definition at line 319 of file class.ilECSCourseMappingRule.php.

320 {
321 $this->ref_id = $a_ref_id;
322 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setRuleId()

ilECSCourseMappingRule::setRuleId (   $a_rule_id)

Definition at line 279 of file class.ilECSCourseMappingRule.php.

280 {
281 $this->rid = $a_rule_id;
282 }

Referenced by save().

+ Here is the caller graph for this function:

◆ setServerId()

ilECSCourseMappingRule::setServerId (   $a_server_id)

Definition at line 289 of file class.ilECSCourseMappingRule.php.

290 {
291 $this->sid = $a_server_id;
292 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setSubDirectoryType()

ilECSCourseMappingRule::setSubDirectoryType (   $a_type)

Definition at line 359 of file class.ilECSCourseMappingRule.php.

360 {
361 $this->subdir_type = $a_type;
362 }

Referenced by read().

+ Here is the caller graph for this function:

◆ update()

ilECSCourseMappingRule::update ( )

Update mapping rule @global type $ilDB.

Definition at line 421 of file class.ilECSCourseMappingRule.php.

422 {
423 global $ilDB;
424
425 $query = 'UPDATE ecs_cmap_rule '.' '.
426 'SET '.
427 'attribute = '.$ilDB->quote($this->getAttribute(),'text').', '.
428 'ref_id = '.$ilDB->quote($this->getRefId(),'integer').', '.
429 'is_filter = '.$ilDB->quote($this->isFilterEnabled(),'integer').', '.
430 'filter = '.$ilDB->quote($this->getFilter(),'text').', '.
431 'create_subdir = '.$ilDB->quote($this->isSubdirCreationEnabled(),'integer').', '.
432 'subdir_type = '.$ilDB->quote($this->getSubDirectoryType(),'integer').', '.
433 'directory = '.$ilDB->quote($this->getDirectory(),'text').' '.
434 'WHERE rid = '.$ilDB->quote($this->getRuleId(),'integer');
435 $ilDB->manipulate($query);
436 }

References $ilDB, $query, getAttribute(), getDirectory(), getFilter(), getRefId(), getRuleId(), getSubDirectoryType(), isFilterEnabled(), and isSubdirCreationEnabled().

+ Here is the call graph for this function:

Field Documentation

◆ $attribute

ilECSCourseMappingRule::$attribute
private

Definition at line 18 of file class.ilECSCourseMappingRule.php.

Referenced by getAttribute().

◆ $create_subdir

ilECSCourseMappingRule::$create_subdir = true
private

Definition at line 22 of file class.ilECSCourseMappingRule.php.

Referenced by isSubdirCreationEnabled().

◆ $directory

ilECSCourseMappingRule::$directory = ''
private

Definition at line 24 of file class.ilECSCourseMappingRule.php.

Referenced by getDirectory().

◆ $filter

ilECSCourseMappingRule::$filter
private

Definition at line 21 of file class.ilECSCourseMappingRule.php.

Referenced by getFilter().

◆ $is_filter

ilECSCourseMappingRule::$is_filter = false
private

Definition at line 20 of file class.ilECSCourseMappingRule.php.

Referenced by isFilterEnabled().

◆ $mid

ilECSCourseMappingRule::$mid
private

Definition at line 17 of file class.ilECSCourseMappingRule.php.

Referenced by getMid().

◆ $ref_id

ilECSCourseMappingRule::$ref_id
private

Definition at line 19 of file class.ilECSCourseMappingRule.php.

Referenced by getRefId().

◆ $rid

ilECSCourseMappingRule::$rid
private

Definition at line 15 of file class.ilECSCourseMappingRule.php.

Referenced by getRuleId().

◆ $sid

ilECSCourseMappingRule::$sid
private

Definition at line 16 of file class.ilECSCourseMappingRule.php.

Referenced by getServerId().

◆ $subdir_type

ilECSCourseMappingRule::$subdir_type = self::SUBDIR_VALUE
private

Definition at line 23 of file class.ilECSCourseMappingRule.php.

◆ SUBDIR_ATTRIBUTE_NAME

const ilECSCourseMappingRule::SUBDIR_ATTRIBUTE_NAME = 1

Definition at line 12 of file class.ilECSCourseMappingRule.php.

◆ SUBDIR_VALUE

const ilECSCourseMappingRule::SUBDIR_VALUE = 2

Definition at line 13 of file class.ilECSCourseMappingRule.php.

Referenced by getSubDirectoryType().


The documentation for this class was generated from the following file: