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

Storage of ECS imported objects. More...

+ Collaboration diagram for ilECSImport:

Public Member Functions

 __construct ($a_server_id, $a_obj_id)
 Constructor. More...
 
 _lookupObjIds ($a_server_id, $a_econtent_id)
 Lookup obj_id. More...
 
 _lookupMID ($a_server_id, $a_obj_id)
 Lookup mid. More...
 
 setServerId ($a_server_id)
 
 getServerId ()
 
 setImported ($a_status)
 Set imported. More...
 
 setSubId ($a_id)
 
 getSubId ()
 
 setContentId ($a_content_id)
 Set content id. More...
 
 getContentId ()
 get content id More...
 
 setMID ($a_mid)
 set mid More...
 
 getMID ()
 get mid More...
 
 setEContentId ($a_id)
 set econtent id More...
 
 getEContentId ()
 get econtent id More...
 
 save ()
 Save. More...
 
 setECSId ($a_id)
 

Static Public Member Functions

static lookupContentId ($a_server_id, $a_mid, $a_econtent_id)
 Lookup content id The content is the - not necessarily unique - id provided by the econtent type. More...
 
static lookupObjIdByContentId ($a_server_id, $a_mid, $a_content_id, $a_sub_id='')
 Lookup obj_id by content id. More...
 
static lookupObjIdsByContentId ($a_content_id)
 
static lookupEContentIdByContentId ($a_server_id, $a_mid, $a_content_id)
 Lookup econtent id The econtent id is the unique id from ecs. More...
 
static getAllImportedRemoteObjects ($a_server_id)
 get all imported links More...
 
static _lookupObjIdsByMID ($a_server_id, $a_mid)
 lookup obj ids by mid More...
 
static _lookupEContentId ($a_obj_id)
 get econent_id More...
 
static lookupServerId ($a_obj_id)
 Lookup server id of imported content @global <type> $ilDB. More...
 
static _lookupObjId ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=NULL)
 loogup obj_id by econtent and mid and server_id More...
 
static _lookupMIDs ($a_server_id, $a_econtent_id)
 Lookup mids by
More...
 
static _deleteByObjId ($a_obj_id)
 Delete by obj_id. More...
 
static deleteByServer ($a_server_id)
 Delete by server id @global ilDB $ilDB. More...
 
static deleteRessources ($a_server_id, $a_mid, $a_econtent_ids)
 Delete ressources @global $ilDB. More...
 
static _isImported ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=0)
 check if econtent is imported for a specific mid More...
 
static resetServerId ($a_server_id)
 

Protected Attributes

 $db = null
 
 $server_id = 0
 
 $obj_id = 0
 
 $econtent_id = 0
 
 $content_id = ''
 
 $sub_id = 0
 
 $mid = 0
 
 $imported = false
 
 $ecs_id = 0
 

Private Member Functions

 read ()
 Read @access private. More...
 

Detailed Description

Storage of ECS imported objects.

This class stores the econent id and informations whether an object is imported or not.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 14 of file class.ilECSImport.php.

Constructor & Destructor Documentation

◆ __construct()

ilECSImport::__construct (   $a_server_id,
  $a_obj_id 
)

Constructor.

@access public

Parameters
int$a_server_id
int$a_obj_id

Definition at line 34 of file class.ilECSImport.php.

35 {
36 global $ilDB;
37
38 $this->server_id = $a_server_id;
39 $this->obj_id = $a_obj_id;
40 $this->db = $ilDB;
41 $this->read();
42 }
read()
Read @access private.
global $ilDB

References $ilDB, and read().

+ Here is the call graph for this function:

Member Function Documentation

◆ _deleteByObjId()

static ilECSImport::_deleteByObjId (   $a_obj_id)
static

Delete by obj_id.

@access public

Parameters
intobj_id

Definition at line 340 of file class.ilECSImport.php.

341 {
342 global $ilDB;
343
344 $query = "DELETE FROM ecs_import ".
345 "WHERE obj_id = ".$ilDB->quote($a_obj_id,'integer')." ";
346 $res = $ilDB->manipulate($query);
347 return true;
348 }

References $ilDB, $query, and $res.

Referenced by ilObject\delete(), and ilRemoteObjectBase\doDelete().

+ Here is the caller graph for this function:

◆ _isImported()

static ilECSImport::_isImported (   $a_server_id,
  $a_econtent_id,
  $a_mid,
  $a_sub_id = 0 
)
static

check if econtent is imported for a specific mid

@access public

Parameters
intecontent id
intmid

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

395 {
396 return ilECSImport::_lookupObjId($a_server_id,$a_econtent_id,$a_mid, $a_sub_id);
397 }
static _lookupObjId($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=NULL)
loogup obj_id by econtent and mid and server_id

References _lookupObjId().

Referenced by ilRemoteObjectBase\handleUpdate().

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

◆ _lookupEContentId()

static ilECSImport::_lookupEContentId (   $a_obj_id)
static

get econent_id

@access public

Parameters
intobj_id

Definition at line 202 of file class.ilECSImport.php.

203 {
204 global $ilDB;
205
206 $query = "SELECT * FROM ecs_import WHERE obj_id = ".$ilDB->quote($a_obj_id,'integer')." ";
207 $res = $ilDB->query($query);
208 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
209 {
210 return $row->econtent_id;
211 }
212 return 0;
213 }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11

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

Referenced by ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), and ilRemoteObjectBase\isLocalObject().

+ Here is the caller graph for this function:

◆ _lookupMID()

ilECSImport::_lookupMID (   $a_server_id,
  $a_obj_id 
)

Lookup mid.

@access public

Definition at line 295 of file class.ilECSImport.php.

296 {
297 global $ilDB;
298
299 $query = "SELECT * FROM ecs_emport WHERE obj_id = ".$ilDB->quote($a_obj_id)." ".
300 'AND server_id = '.$ilDB->quote($a_server_id,'integer');
301 $res = $ilDB->query($query);
302 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
303 {
304 return $row->mid;
305 }
306 return 0;
307
308 }

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

◆ _lookupMIDs()

static ilECSImport::_lookupMIDs (   $a_server_id,
  $a_econtent_id 
)
static

Lookup mids by

@access public

Parameters
intecontent_id

Definition at line 318 of file class.ilECSImport.php.

319 {
320 global $ilDB;
321
322 $query = "SELECT mid FROM ecs_import WHERE econtent_id = ".$ilDB->quote($a_econtent_id,'text')." ".
323 'AND server_id = '.$ilDB->quote($a_server_id,'integer');
324 $res = $ilDB->query($query);
325 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
326 {
327 $mids[] = $row->mid;
328 }
329 return $mids ? $mids : array();
330 }

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

◆ _lookupObjId()

static ilECSImport::_lookupObjId (   $a_server_id,
  $a_econtent_id,
  $a_mid,
  $a_sub_id = NULL 
)
static

loogup obj_id by econtent and mid and server_id

@access public

Parameters
intecontent_id

Definition at line 263 of file class.ilECSImport.php.

264 {
265 global $ilDB;
266
267 $query = "SELECT obj_id FROM ecs_import ".
268 "WHERE econtent_id = ".$ilDB->quote($a_econtent_id,'text')." ".
269 "AND mid = ".$ilDB->quote($a_mid,'integer')." ".
270 'AND server_id = '.$ilDB->quote($a_server_id,'integer').' ';
271
272 if($a_sub_id)
273 {
274 $query .= 'AND sub_id = '.$ilDB->quote($a_sub_id,'text');
275 }
276 else
277 {
278 $query .= 'AND sub_id IS NULL';
279 }
280 $res = $ilDB->query($query);
281
282 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
283 {
284 return $row->obj_id;
285 }
286 return 0;
287 }

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

Referenced by _isImported().

+ Here is the caller graph for this function:

◆ _lookupObjIds()

ilECSImport::_lookupObjIds (   $a_server_id,
  $a_econtent_id 
)

Lookup obj_id.

@access public

Definition at line 241 of file class.ilECSImport.php.

242 {
243 global $ilDB;
244
245 $query = "SELECT obj_id FROM ecs_import WHERE econtent_id = ".$ilDB->quote($a_econtent_id,'text')." ".
246 'AND server_id = '.$ilDB->quote($a_server_id,'integer');
247 $res = $ilDB->query($query);
248 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
249 {
250 $obj_ids[] = $row->obj_id;
251 }
252 return $obj_ids ? $obj_ids : array();
253 }

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

Referenced by ilRemoteObjectBase\handleDelete().

+ Here is the caller graph for this function:

◆ _lookupObjIdsByMID()

static ilECSImport::_lookupObjIdsByMID (   $a_server_id,
  $a_mid 
)
static

lookup obj ids by mid

@access public

Parameters
intmid
Returns
array int

Definition at line 178 of file class.ilECSImport.php.

179 {
180 global $ilDB;
181
182 $query = "SELECT * FROM ecs_import ".
183 "WHERE mid = ".$ilDB->quote($a_mid,'integer')." ".
184 'AND server_id = '.$ilDB->quote($a_server_id,'integer');
185
186 $res = $ilDB->query($query);
187 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
188 {
189 $obj_ids[] = $row->obj_id;
190 }
191 return $obj_ids ? $obj_ids : array();
192 }

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

◆ deleteByServer()

static ilECSImport::deleteByServer (   $a_server_id)
static

Delete by server id @global ilDB $ilDB.

Parameters
int$a_server_id

Definition at line 355 of file class.ilECSImport.php.

356 {
357 global $ilDB;
358
359 $query = 'DELETE FROM ecs_import '.
360 'WHERE server_id = '.$ilDB->quote($a_server_id,'integer');
361 $ilDB->manipulate($query);
362 }

References $ilDB, and $query.

Referenced by ilECSSettingsGUI\doDelete().

+ Here is the caller graph for this function:

◆ deleteRessources()

static ilECSImport::deleteRessources (   $a_server_id,
  $a_mid,
  $a_econtent_ids 
)
static

Delete ressources @global $ilDB.

Parameters
type$a_server_id
type$a_mid
type$a_econtent_ids

Definition at line 371 of file class.ilECSImport.php.

372 {
373 global $ilDB;
374
375 $query = 'DELETE FROM ecs_import '.
376 'WHERE server_id = '.$ilDB->quote($a_server_id,'integer'). ' '.
377 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
378 'AND '.$ilDB->in('econtent_id',(array) $a_econtent_ids,false,'text');
379 $ilDB->manipulate($query);
380 return true;
381 }

References $ilDB, and $query.

Referenced by ilECSMappingSettingsGUI\dDeleteTree().

+ Here is the caller graph for this function:

◆ getAllImportedRemoteObjects()

static ilECSImport::getAllImportedRemoteObjects (   $a_server_id)
static

get all imported links

@access public

Definition at line 152 of file class.ilECSImport.php.

153 {
154 global $ilDB;
155
156 include_once './Services/WebServices/ECS/classes/class.ilECSUtils.php';
157
158 $query = "SELECT * FROM ecs_import ei JOIN object_data obd ON ei.obj_id = obd.obj_id ".
159 'WHERE server_id = '.$ilDB->quote($a_server_id).' '.
160 'AND '.$ilDB->in('type', ilECSUtils::getPossibleRemoteTypes(), false, 'text');
161 $res = $ilDB->query($query);
162 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
163 {
164 $all[$row->econtent_id] = $row->obj_id;
165 }
166
167 return $all ? $all : array();
168 }
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilECSUtils\getPossibleRemoteTypes().

Referenced by ilECSEventQueueReader\handleImportReset().

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

◆ getContentId()

ilECSImport::getContentId ( )

get content id

Returns
type

Definition at line 444 of file class.ilECSImport.php.

445 {
446 return $this->content_id;
447 }

References $content_id.

Referenced by save().

+ Here is the caller graph for this function:

◆ getEContentId()

ilECSImport::getEContentId ( )

get econtent id

@access public

Definition at line 490 of file class.ilECSImport.php.

491 {
492 return $this->econtent_id;
493 }

References $econtent_id.

◆ getMID()

ilECSImport::getMID ( )

get mid

@access public

Definition at line 467 of file class.ilECSImport.php.

468 {
469 return $this->mid;
470 }

References $mid.

◆ getServerId()

ilECSImport::getServerId ( )

Definition at line 404 of file class.ilECSImport.php.

405 {
406 return $this->server_id;
407 }

References $server_id.

Referenced by read(), and save().

+ Here is the caller graph for this function:

◆ getSubId()

ilECSImport::getSubId ( )

Definition at line 426 of file class.ilECSImport.php.

427 {
428 return $this->sub_id ? $this->sub_id : NULL;
429 }

Referenced by save().

+ Here is the caller graph for this function:

◆ lookupContentId()

static ilECSImport::lookupContentId (   $a_server_id,
  $a_mid,
  $a_econtent_id 
)
static

Lookup content id The content is the - not necessarily unique - id provided by the econtent type.

The econtent id is the unique id from ecs

Parameters
type$a_server_id
type$a_mid
type$a_econtent_id
Returns
string content id

Definition at line 53 of file class.ilECSImport.php.

54 {
55 global $ilDB;
56
57 $query = 'SELECT * from ecs_import '.
58 'WHERE server_id = '.$ilDB->quote($a_server_id,'integer').' '.
59 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
60 'AND econtent_id = '.$ilDB->quote($a_econtent_id,'text');
61 $res = $ilDB->query($query);
62 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
63 {
64 return $row->content_id;
65 }
66 return '';
67 }

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

◆ lookupEContentIdByContentId()

static ilECSImport::lookupEContentIdByContentId (   $a_server_id,
  $a_mid,
  $a_content_id 
)
static

Lookup econtent id The econtent id is the unique id from ecs.

Parameters
type$a_server_id
type$a_mid
type$a_econtent_id
Returns
int content id

Definition at line 129 of file class.ilECSImport.php.

130 {
131 global $ilDB;
132
133 $query = 'SELECT * from ecs_import '.
134 'WHERE server_id = '.$ilDB->quote($a_server_id,'integer').' '.
135 'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
136 'AND content_id = '.$ilDB->quote($a_content_id,'text');
137 $res = $ilDB->query($query);
138 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
139 {
140 return $row->econtent_id;
141 }
142 return 0;
143 }

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

Referenced by ilECSCmsCourseMemberCommandQueueHandler\readCourse().

+ Here is the caller graph for this function:

◆ lookupObjIdByContentId()

static ilECSImport::lookupObjIdByContentId (   $a_server_id,
  $a_mid,
  $a_content_id,
  $a_sub_id = '' 
)
static

Lookup obj_id by content id.

Parameters
type$a_server_id
type$a_mid
type$a_content_id
type$a_sub_id

Definition at line 76 of file class.ilECSImport.php.

77 {
78 global $ilDB;
79
80 $query = "SELECT obj_id FROM ecs_import ".
81 "WHERE content_id = ".$ilDB->quote($a_content_id,'integer')." ".
82 "AND mid = ".$ilDB->quote($a_mid,'integer')." ".
83 'AND server_id = '.$ilDB->quote($a_server_id,'integer').' ';
84
85 if($a_sub_id)
86 {
87 $query .= 'AND sub_id = '.$ilDB->quote($a_sub_id,'text');
88 }
89 else
90 {
91 $query .= 'AND sub_id IS NULL';
92 }
93 $res = $ilDB->query($query);
94
95 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
96 {
97 return $row->obj_id;
98 }
99 return 0;
100
101 }

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

Referenced by ilECSCmsCourseMemberCommandQueueHandler\doUpdate(), ilECSCourseCreationHandler\getImportId(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), and ilECSCmsTreeSynchronizer\syncCategory().

+ Here is the caller graph for this function:

◆ lookupObjIdsByContentId()

static ilECSImport::lookupObjIdsByContentId (   $a_content_id)
static

Definition at line 103 of file class.ilECSImport.php.

104 {
105 global $ilDB;
106
107 $query = "SELECT obj_id FROM ecs_import ".
108 "WHERE content_id = ".$ilDB->quote($a_content_id,'integer');
109
110 $res = $ilDB->query($query);
111
112 $obj_ids = array();
113 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
114 {
115 $obj_ids[] = $row->obj_id;
116 }
117 return $obj_ids;
118 }

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

Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().

+ Here is the caller graph for this function:

◆ lookupServerId()

static ilECSImport::lookupServerId (   $a_obj_id)
static

Lookup server id of imported content @global <type> $ilDB.

Parameters
<type>$a_obj_id
Returns
<type>

Definition at line 221 of file class.ilECSImport.php.

222 {
223 global $ilDB;
224
225 $query = 'SELECT * FROM ecs_import WHERE obj_id = '.$ilDB->quote($a_obj_id,'integer');
226 $res = $ilDB->query($query);
227 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
228 {
229 return $row->server_id;
230 }
231 return 0;
232 }

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

Referenced by ilRemoteObjectBase\createAuthResource(), ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), ilRemoteObjectBase\getFullRemoteLink(), ilECSAppEventListener\initServer(), ilECSObjectSettings\isActive(), ilRemoteObjectBase\isLocalObject(), and ilECSImportedContentTableGUI\parse().

+ Here is the caller graph for this function:

◆ read()

ilECSImport::read ( )
private

Read @access private.

Definition at line 528 of file class.ilECSImport.php.

529 {
530 global $ilDB;
531
532 $query = "SELECT * FROM ecs_import WHERE ".
533 "obj_id = ".$this->db->quote($this->obj_id,'integer')." ".
534 'AND server_id = '.$ilDB->quote($this->getServerId(),'integer');
535 $res = $this->db->query($query);
536 while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
537 {
538 $this->econtent_id = $row->econtent_id;
539 $this->mid = $row->mid;
540 $this->sub_id = $row->sub_id;
541 $this->content_id = $row->content_id;
542 }
543 }

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().

Referenced by __construct().

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

◆ resetServerId()

static ilECSImport::resetServerId (   $a_server_id)
static

Definition at line 545 of file class.ilECSImport.php.

546 {
547 global $ilDB;
548
549 $query = 'UPDATE ecs_import SET server_id = '.$ilDB->quote(0,'integer').
550 ' WHERE server_id = '.$ilDB->quote($a_server_id,'integer');
551 $ilDB->manipulate($query);
552 return true;
553 }

References $ilDB, and $query.

Referenced by ilECSSetting\delete().

+ Here is the caller graph for this function:

◆ save()

ilECSImport::save ( )

Save.

@access public

Definition at line 500 of file class.ilECSImport.php.

501 {
502 global $ilDB;
503
504 $query = "DELETE FROM ecs_import ".
505 "WHERE obj_id = ".$this->db->quote($this->obj_id,'integer')." ".
506 'AND server_id = '.$ilDB->quote($this->getServerId(),'integer');
507 $res = $ilDB->manipulate($query);
508
509 $query = "INSERT INTO ecs_import (obj_id,mid,econtent_id,sub_id,server_id,content_id) ".
510 "VALUES ( ".
511 $this->db->quote($this->obj_id,'integer').", ".
512 $this->db->quote($this->mid,'integer').", ".
513 $this->db->quote($this->econtent_id,'text').", ".
514 $this->db->quote($this->getSubId(),'text'). ', '.
515 $this->db->quote($this->getServerId(),'integer').', '.
516 $this->db->quote($this->getContentId(),'text').' '.
517 ")";
518
519 $res = $ilDB->manipulate($query);
520
521 return true;
522 }
getContentId()
get content id

References $ilDB, $query, $res, getContentId(), getServerId(), and getSubId().

+ Here is the call graph for this function:

◆ setContentId()

ilECSImport::setContentId (   $a_content_id)

Set content id.

Parameters
type$a_content_id

Definition at line 435 of file class.ilECSImport.php.

436 {
437 $this->content_id = $a_content_id;
438 }

◆ setEContentId()

ilECSImport::setEContentId (   $a_id)

set econtent id

@access public

Parameters
intecontent id

Definition at line 479 of file class.ilECSImport.php.

480 {
481 $this->econtent_id = $a_id;
482 }

◆ setECSId()

ilECSImport::setECSId (   $a_id)

Definition at line 556 of file class.ilECSImport.php.

557 {
558 $this->ecs_id = $a_id;
559 }

◆ setImported()

ilECSImport::setImported (   $a_status)

Set imported.

@access public

Parameters
boolexport status

Definition at line 416 of file class.ilECSImport.php.

417 {
418 $this->imported = $a_status;
419 }

◆ setMID()

ilECSImport::setMID (   $a_mid)

set mid

@access public

Parameters
intmid

Definition at line 456 of file class.ilECSImport.php.

457 {
458 $this->mid = $a_mid;
459 }

◆ setServerId()

ilECSImport::setServerId (   $a_server_id)

Definition at line 399 of file class.ilECSImport.php.

400 {
401 $this->server_id = $a_server_id;
402 }

◆ setSubId()

ilECSImport::setSubId (   $a_id)

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

422 {
423 $this->sub_id = $a_id;
424 }

Field Documentation

◆ $content_id

ilECSImport::$content_id = ''
protected

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

Referenced by getContentId().

◆ $db

ilECSImport::$db = null
protected

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

◆ $econtent_id

ilECSImport::$econtent_id = 0
protected

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

Referenced by getEContentId().

◆ $ecs_id

ilECSImport::$ecs_id = 0
protected

Definition at line 25 of file class.ilECSImport.php.

◆ $imported

ilECSImport::$imported = false
protected

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

◆ $mid

ilECSImport::$mid = 0
protected

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

Referenced by getMID().

◆ $obj_id

ilECSImport::$obj_id = 0
protected

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

◆ $server_id

ilECSImport::$server_id = 0
protected

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

Referenced by getServerId().

◆ $sub_id

ilECSImport::$sub_id = 0
protected

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


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