ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
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 econten type. More...
 
static lookupObjIdByContentId ($a_server_id, $a_mid, $a_content_id, $a_sub_id='')
 Lookup obj_id by content id. More...
 
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 <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 ilDB $ilDB. More...
 
static deleteRessources ($a_server_id, $a_mid, $a_econtent_ids)
 Delete ressources $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 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.

public

Parameters
int$a_server_id
int$a_obj_id

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

References read().

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 private.
+ Here is the call graph for this function:

Member Function Documentation

◆ _deleteByObjId()

static ilECSImport::_deleteByObjId (   $a_obj_id)
static

Delete by obj_id.

public

Parameters
intobj_id

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

References $query, and $res.

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

323  {
324  global $ilDB;
325 
326  $query = "DELETE FROM ecs_import ".
327  "WHERE obj_id = ".$ilDB->quote($a_obj_id,'integer')." ";
328  $res = $ilDB->manipulate($query);
329  return true;
330  }
+ 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

public

Parameters
intecontent id
intmid

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

References _lookupObjId().

Referenced by ilRemoteObjectBase\handleUpdate().

377  {
378  return ilECSImport::_lookupObjId($a_server_id,$a_econtent_id,$a_mid, $a_sub_id);
379  }
static _lookupObjId($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=NULL)
loogup obj_id by econtent and mid and server_id
+ 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

public

Parameters
intobj_id

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

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

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

185  {
186  global $ilDB;
187 
188  $query = "SELECT * FROM ecs_import WHERE obj_id = ".$ilDB->quote($a_obj_id,'integer')." ";
189  $res = $ilDB->query($query);
190  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
191  {
192  return $row->econtent_id;
193  }
194  return 0;
195  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ Here is the caller graph for this function:

◆ _lookupMID()

ilECSImport::_lookupMID (   $a_server_id,
  $a_obj_id 
)

Lookup mid.

public

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

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

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

◆ _lookupMIDs()

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

Lookup mids by.

public

Parameters
intecontent_id

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

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

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

◆ _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

public

Parameters
intecontent_id

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

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

Referenced by _isImported(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), and ilECSCmsTreeSynchronizer\syncCategory().

246  {
247  global $ilDB;
248 
249  $query = "SELECT obj_id FROM ecs_import ".
250  "WHERE econtent_id = ".$ilDB->quote($a_econtent_id,'integer')." ".
251  "AND mid = ".$ilDB->quote($a_mid,'integer')." ".
252  'AND server_id = '.$ilDB->quote($a_server_id,'integer').' ';
253 
254  if($a_sub_id)
255  {
256  $query .= 'AND sub_id = '.$ilDB->quote($a_sub_id,'text');
257  }
258  else
259  {
260  $query .= 'AND sub_id IS NULL';
261  }
262  $res = $ilDB->query($query);
263 
264  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
265  {
266  return $row->obj_id;
267  }
268  return 0;
269  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ Here is the caller graph for this function:

◆ _lookupObjIds()

ilECSImport::_lookupObjIds (   $a_server_id,
  $a_econtent_id 
)

Lookup obj_id.

public

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

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

Referenced by ilRemoteObjectBase\handleDelete().

224  {
225  global $ilDB;
226 
227  $query = "SELECT obj_id FROM ecs_import WHERE econtent_id = ".$ilDB->quote($a_econtent_id,'integer')." ".
228  'AND server_id = '.$ilDB->quote($a_server_id,'integer');
229  $res = $ilDB->query($query);
230  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
231  {
232  $obj_ids[] = $row->obj_id;
233  }
234  return $obj_ids ? $obj_ids : array();
235  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ Here is the caller graph for this function:

◆ _lookupObjIdsByMID()

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

lookup obj ids by mid

public

Parameters
intmid
Returns
array int

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

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

161  {
162  global $ilDB;
163 
164  $query = "SELECT * FROM ecs_import ".
165  "WHERE mid = ".$ilDB->quote($a_mid,'integer')." ".
166  'AND server_id = '.$ilDB->quote($a_server_id,'integer');
167 
168  $res = $ilDB->query($query);
169  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
170  {
171  $obj_ids[] = $row->obj_id;
172  }
173  return $obj_ids ? $obj_ids : array();
174  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11

◆ deleteByServer()

static ilECSImport::deleteByServer (   $a_server_id)
static

Delete by server id ilDB $ilDB.

Parameters
int$a_server_id

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

References $query.

Referenced by ilECSSettingsGUI\doDelete().

338  {
339  global $ilDB;
340 
341  $query = 'DELETE FROM ecs_import '.
342  'WHERE server_id = '.$ilDB->quote($a_server_id,'integer');
343  $ilDB->manipulate($query);
344  }
+ Here is the caller graph for this function:

◆ deleteRessources()

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

Delete ressources $ilDB.

Parameters
type$a_server_id
type$a_mid
type$a_econtent_ids

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

References $query.

Referenced by ilECSMappingSettingsGUI\dDeleteTree().

354  {
355  global $ilDB;
356 
357  $query = 'DELETE FROM ecs_import '.
358  'WHERE server_id = '.$ilDB->quote($a_server_id,'integer'). ' '.
359  'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
360  'AND '.$ilDB->in('econtent_id',(array) $a_econtent_ids,false,'integer');
361  $ilDB->manipulate($query);
362  return true;
363  }
+ Here is the caller graph for this function:

◆ getAllImportedRemoteObjects()

static ilECSImport::getAllImportedRemoteObjects (   $a_server_id)
static

get all imported links

public

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

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

Referenced by ilECSEventQueueReader\handleImportReset().

135  {
136  global $ilDB;
137 
138  include_once './Services/WebServices/ECS/classes/class.ilECSUtils.php';
139 
140  $query = "SELECT * FROM ecs_import ei JOIN object_data obd ON ei.obj_id = obd.obj_id ".
141  'WHERE server_id = '.$ilDB->quote($a_server_id).' '.
142  'AND '.$ilDB->in('type', ilECSUtils::getPossibleRemoteTypes(), false, 'text');
143  $res = $ilDB->query($query);
144  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
145  {
146  $all[$row->econtent_id] = $row->obj_id;
147  }
148 
149  return $all ? $all : array();
150  }
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ 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 426 of file class.ilECSImport.php.

References $content_id.

Referenced by save().

427  {
428  return $this->content_id;
429  }
+ Here is the caller graph for this function:

◆ getEContentId()

ilECSImport::getEContentId ( )

get econtent id

public

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

References $econtent_id.

473  {
474  return $this->econtent_id;
475  }

◆ getMID()

ilECSImport::getMID ( )

get mid

public

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

References $mid.

450  {
451  return $this->mid;
452  }

◆ getServerId()

ilECSImport::getServerId ( )

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

References $server_id.

Referenced by read(), and save().

387  {
388  return $this->server_id;
389  }
+ Here is the caller graph for this function:

◆ getSubId()

ilECSImport::getSubId ( )

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

Referenced by save().

409  {
410  return $this->sub_id ? $this->sub_id : NULL;
411  }
+ 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 econten 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.

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

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,'integer');
61  $res = $ilDB->query($query);
62  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
63  {
64  return $row->content_id;
65  }
66  return '';
67  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11

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

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

Referenced by ilECSCmsCourseMemberCommandQueueHandler\readCourse().

112  {
113  global $ilDB;
114 
115  $query = 'SELECT * from ecs_import '.
116  'WHERE server_id = '.$ilDB->quote($a_server_id,'integer').' '.
117  'AND mid = '.$ilDB->quote($a_mid,'integer').' '.
118  'AND content_id = '.$ilDB->quote($a_content_id,'text');
119  $res = $ilDB->query($query);
120  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
121  {
122  return $row->econtent_id;
123  }
124  return 0;
125  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ 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.

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

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

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  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ Here is the caller graph for this function:

◆ lookupServerId()

static ilECSImport::lookupServerId (   $a_obj_id)
static

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

Parameters
<type>$a_obj_id
Returns
<type>

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

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

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

204  {
205  global $ilDB;
206 
207  $query = 'SELECT * FROM ecs_import WHERE obj_id = '.$ilDB->quote($a_obj_id,'integer');
208  $res = $ilDB->query($query);
209  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
210  {
211  return $row->server_id;
212  }
213  return 0;
214  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ Here is the caller graph for this function:

◆ read()

ilECSImport::read ( )
private

Read private.

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

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

Referenced by __construct().

511  {
512  global $ilDB;
513 
514  $query = "SELECT * FROM ecs_import WHERE ".
515  "obj_id = ".$this->db->quote($this->obj_id,'integer')." ".
516  'AND server_id = '.$ilDB->quote($this->getServerId(),'integer');
517  $res = $this->db->query($query);
518  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
519  {
520  $this->econtent_id = $row->econtent_id;
521  $this->mid = $row->mid;
522  $this->sub_id = $row->sub_id;
523  $this->content_id = $row->content_id;
524  }
525  }
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
+ 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 527 of file class.ilECSImport.php.

References $query.

Referenced by ilECSSetting\delete().

528  {
529  global $ilDB;
530 
531  $query = 'UPDATE ecs_import SET server_id = '.$ilDB->quote(0,'integer').
532  ' WHERE server_id = '.$ilDB->quote($a_server_id,'integer');
533  $ilDB->manipulate($query);
534  return true;
535  }
+ Here is the caller graph for this function:

◆ save()

ilECSImport::save ( )

Save.

public

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

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

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

418  {
419  $this->content_id = $a_content_id;
420  }

◆ setEContentId()

ilECSImport::setEContentId (   $a_id)

set econtent id

public

Parameters
intecontent id

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

Referenced by ilRemoteObjectBase\handleUpdate().

462  {
463  $this->econtent_id = $a_id;
464  }
+ Here is the caller graph for this function:

◆ setECSId()

ilECSImport::setECSId (   $a_id)

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

539  {
540  $this->ecs_id = $a_id;
541  }

◆ setImported()

ilECSImport::setImported (   $a_status)

Set imported.

public

Parameters
boolexport status

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

399  {
400  $this->imported = $a_status;
401  }

◆ setMID()

ilECSImport::setMID (   $a_mid)

set mid

public

Parameters
intmid

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

Referenced by ilECSCmsTreeSynchronizer\syncCategory(), and ilECSCourseCreationHandler\syncCategory().

439  {
440  $this->mid = $a_mid;
441  }
+ Here is the caller graph for this function:

◆ setServerId()

ilECSImport::setServerId (   $a_server_id)

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

382  {
383  $this->server_id = $a_server_id;
384  }

◆ setSubId()

ilECSImport::setSubId (   $a_id)

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

404  {
405  $this->sub_id = $a_id;
406  }

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: