ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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...
 
 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=null)
 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 _lookupObjIds ($a_server_id, $a_econtent_id)
 Lookup obj_id. 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 _lookupMID ($a_server_id, $a_obj_id)
 Lookup mid. 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=null)
 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 = null
 
 $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 320 of file class.ilECSImport.php.

321 {
322 global $ilDB;
323
324 $query = "DELETE FROM ecs_import " .
325 "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " ";
326 $res = $ilDB->manipulate($query);
327 return true;
328 }
$query
foreach($_POST as $key=> $value) $res

References $ilDB, $query, and $res.

Referenced by 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 = null 
)
static

check if econtent is imported for a specific mid

@access public

Parameters
intecontent id
intmid

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

375 {
376 return ilECSImport::_lookupObjId($a_server_id, $a_econtent_id, $a_mid, $a_sub_id);
377 }
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 192 of file class.ilECSImport.php.

193 {
194 global $ilDB;
195
196 $query = "SELECT * FROM ecs_import WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " ";
197 $res = $ilDB->query($query);
198 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
199 return $row->econtent_id;
200 }
201 return 0;
202 }

References $ilDB, $query, $res, $row, and ilDBConstants\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()

static ilECSImport::_lookupMID (   $a_server_id,
  $a_obj_id 
)
static

Lookup mid.

@access public

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

279 {
280 global $ilDB;
281
282 $query = "SELECT * FROM ecs_emport WHERE obj_id = " . $ilDB->quote($a_obj_id) . " " .
283 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer');
284 $res = $ilDB->query($query);
285 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
286 return $row->mid;
287 }
288 return 0;
289 }

References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.

◆ _lookupMIDs()

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

Lookup mids by.

@access public

Parameters
intecontent_id

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

300 {
301 global $ilDB;
302
303 $query = "SELECT mid FROM ecs_import WHERE econtent_id = " . $ilDB->quote($a_econtent_id, 'text') . " " .
304 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer');
305 $res = $ilDB->query($query);
306 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
307 $mids[] = $row->mid;
308 }
309 return $mids ? $mids : array();
310 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 250 of file class.ilECSImport.php.

251 {
252 global $ilDB;
253
254 $query = "SELECT obj_id FROM ecs_import " .
255 "WHERE econtent_id = " . $ilDB->quote($a_econtent_id, 'text') . " " .
256 "AND mid = " . $ilDB->quote($a_mid, 'integer') . " " .
257 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ';
258
259 if (!is_null($a_sub_id)) {
260 $query .= 'AND sub_id = ' . $ilDB->quote($a_sub_id, 'text');
261 } else {
262 $query .= 'AND sub_id IS NULL';
263 }
264 $res = $ilDB->query($query);
265
266 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
267 return $row->obj_id;
268 }
269 return 0;
270 }

References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by _isImported().

+ Here is the caller graph for this function:

◆ _lookupObjIds()

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

Lookup obj_id.

@access public

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

230 {
231 global $ilDB;
232
233 $query = "SELECT obj_id FROM ecs_import WHERE econtent_id = " . $ilDB->quote($a_econtent_id, 'text') . " " .
234 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer');
235 $res = $ilDB->query($query);
236 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
237 $obj_ids[] = $row->obj_id;
238 }
239 return $obj_ids ? $obj_ids : array();
240 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 169 of file class.ilECSImport.php.

170 {
171 global $ilDB;
172
173 $query = "SELECT * FROM ecs_import " .
174 "WHERE mid = " . $ilDB->quote($a_mid, 'integer') . " " .
175 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer');
176
177 $res = $ilDB->query($query);
178 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
179 $obj_ids[] = $row->obj_id;
180 }
181 return $obj_ids ? $obj_ids : array();
182 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 335 of file class.ilECSImport.php.

336 {
337 global $ilDB;
338
339 $query = 'DELETE FROM ecs_import ' .
340 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer');
341 $ilDB->manipulate($query);
342 }

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 351 of file class.ilECSImport.php.

352 {
353 global $ilDB;
354
355 $query = 'DELETE FROM ecs_import ' .
356 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' .
357 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' .
358 'AND ' . $ilDB->in('econtent_id', (array) $a_econtent_ids, false, 'text');
359 $ilDB->manipulate($query);
360 return true;
361 }

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 144 of file class.ilECSImport.php.

145 {
146 global $ilDB;
147
148 include_once './Services/WebServices/ECS/classes/class.ilECSUtils.php';
149
150 $query = "SELECT * FROM ecs_import ei JOIN object_data obd ON ei.obj_id = obd.obj_id " .
151 'WHERE server_id = ' . $ilDB->quote($a_server_id) . ' ' .
152 'AND ' . $ilDB->in('type', ilECSUtils::getPossibleRemoteTypes(), false, 'text');
153 $res = $ilDB->query($query);
154 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
155 $all[$row->econtent_id] = $row->obj_id;
156 }
157
158 return $all ? $all : array();
159 }
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.

References $ilDB, $query, $res, $row, ilDBConstants\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 424 of file class.ilECSImport.php.

425 {
426 return $this->content_id;
427 }

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 470 of file class.ilECSImport.php.

471 {
472 return $this->econtent_id;
473 }

References $econtent_id.

◆ getMID()

ilECSImport::getMID ( )

get mid

@access public

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

448 {
449 return $this->mid;
450 }

References $mid.

◆ getServerId()

ilECSImport::getServerId ( )

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

385 {
386 return $this->server_id;
387 }

References $server_id.

Referenced by read(), and save().

+ Here is the caller graph for this function:

◆ getSubId()

ilECSImport::getSubId ( )

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

407 {
408 return strlen($this->sub_id) ? $this->sub_id : null;
409 }

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(ilDBConstants::FETCHMODE_OBJECT)) {
63 return $row->content_id;
64 }
65 return '';
66 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 122 of file class.ilECSImport.php.

123 {
124 global $ilDB;
125
126 $query = 'SELECT * from ecs_import ' .
127 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' .
128 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' .
129 'AND content_id = ' . $ilDB->quote($a_content_id, 'text');
130 $res = $ilDB->query($query);
131 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
132 return $row->econtent_id;
133 }
134 return 0;
135 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 = null 
)
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 75 of file class.ilECSImport.php.

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

References $ilDB, $query, $res, $row, and ilDBConstants\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 97 of file class.ilECSImport.php.

98 {
99 global $ilDB;
100
101 $query = "SELECT obj_id FROM ecs_import " .
102 "WHERE content_id = " . $ilDB->quote($a_content_id, 'integer');
103
104 $res = $ilDB->query($query);
105
106 $obj_ids = array();
107 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
108 $obj_ids[] = $row->obj_id;
109 }
110 return $obj_ids;
111 }

References $ilDB, $query, $res, $row, and ilDBConstants\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 210 of file class.ilECSImport.php.

211 {
212 global $ilDB;
213
214 $query = 'SELECT * FROM ecs_import WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer');
215 $res = $ilDB->query($query);
216 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
217 return $row->server_id;
218 }
219 return 0;
220 }

References $ilDB, $query, $res, $row, and ilDBConstants\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(), ilRemoteObjectBase\isLocalObject(), and ilECSImportedContentTableGUI\parse().

+ Here is the caller graph for this function:

◆ read()

ilECSImport::read ( )
private

Read @access private.

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

509 {
510 global $ilDB;
511
512 $query = "SELECT * FROM ecs_import WHERE " .
513 "obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " .
514 'AND server_id = ' . $ilDB->quote($this->getServerId(), 'integer');
515 $res = $this->db->query($query);
516 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
517 $this->econtent_id = $row->econtent_id;
518 $this->mid = $row->mid;
519 $this->sub_id = $row->sub_id;
520 $this->content_id = $row->content_id;
521 }
522 }

References $ilDB, $query, $res, $row, ilDBConstants\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 524 of file class.ilECSImport.php.

525 {
526 global $ilDB;
527
528 $query = 'UPDATE ecs_import SET server_id = ' . $ilDB->quote(0, 'integer') .
529 ' WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer');
530 $ilDB->manipulate($query);
531 return true;
532 }

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 480 of file class.ilECSImport.php.

481 {
482 global $ilDB;
483
484 $query = "DELETE FROM ecs_import " .
485 "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " .
486 'AND server_id = ' . $ilDB->quote($this->getServerId(), 'integer');
487 $res = $ilDB->manipulate($query);
488
489 $query = "INSERT INTO ecs_import (obj_id,mid,econtent_id,sub_id,server_id,content_id) " .
490 "VALUES ( " .
491 $this->db->quote($this->obj_id, 'integer') . ", " .
492 $this->db->quote($this->mid, 'integer') . ", " .
493 $this->db->quote($this->econtent_id, 'text') . ", " .
494 $this->db->quote($this->getSubId(), 'text') . ', ' .
495 $this->db->quote($this->getServerId(), 'integer') . ', ' .
496 $this->db->quote($this->getContentId(), 'text') . ' ' .
497 ")";
498
499 $res = $ilDB->manipulate($query);
500
501 return true;
502 }
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 415 of file class.ilECSImport.php.

416 {
417 $this->content_id = $a_content_id;
418 }

◆ setEContentId()

ilECSImport::setEContentId (   $a_id)

set econtent id

@access public

Parameters
intecontent id

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

460 {
461 $this->econtent_id = $a_id;
462 }

◆ setECSId()

ilECSImport::setECSId (   $a_id)

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

536 {
537 $this->ecs_id = $a_id;
538 }

◆ setImported()

ilECSImport::setImported (   $a_status)

Set imported.

@access public

Parameters
boolexport status

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

397 {
398 $this->imported = $a_status;
399 }

◆ setMID()

ilECSImport::setMID (   $a_mid)

set mid

@access public

Parameters
intmid

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

437 {
438 $this->mid = $a_mid;
439 }

◆ setServerId()

ilECSImport::setServerId (   $a_server_id)

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

380 {
381 $this->server_id = $a_server_id;
382 }

◆ setSubId()

ilECSImport::setSubId (   $a_id)

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

402 {
403 $this->sub_id = $a_id;
404 }

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 = null
protected

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


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