| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Storage of ECS imported objects. More...
 Collaboration diagram for ilECSImport:
 Collaboration diagram for ilECSImport:| Public Member Functions | |
| __construct ($a_obj_id) | |
| Constructor. | |
| _lookupObjIds ($a_econtent_id) | |
| lookup obj_id | |
| _lookupObjId ($a_econtent_id, $a_mid) | |
| loogup obj_id by econtent and mid | |
| _lookupMID ($a_obj_id) | |
| Lookup mid. | |
| setImported ($a_status) | |
| Set exported. | |
| setMID ($a_mid) | |
| set mid | |
| getMID () | |
| get mid | |
| setEContentId ($a_id) | |
| set econtent id | |
| getEContentId () | |
| get econtent id | |
| save () | |
| Save. | |
| Static Public Member Functions | |
| static | _getAllImportedLinks () | 
| get all imported links | |
| static | _getAll () | 
| get all | |
| static | _lookupObjIdsByMID ($a_mid) | 
| lookup obj ids by mid | |
| static | _lookupEContentId ($a_obj_id) | 
| get econent_id | |
| static | _lookupMIDs ($a_econtent_id) | 
| Lookup mids by. | |
| static | _deleteByObjId ($a_obj_id) | 
| Delete by obj_id. | |
| static | _isImported ($a_econtent_id, $a_mid) | 
| check if econtent is imported for a specific mid | |
| Protected Attributes | |
| $db = null | |
| $obj_id = 0 | |
| $econtent_id = 0 | |
| $mid = 0 | |
| $imported = false | |
| Private Member Functions | |
| read () | |
| Read  private. | |
Storage of ECS imported objects.
This class stores the econent id and informations whether an object is imported or not.
Definition at line 34 of file class.ilECSImport.php.
| ilECSImport::__construct | ( | $a_obj_id | ) | 
| 
 | static | 
Delete by obj_id.
public
| int | obj_id | 
Definition at line 236 of file class.ilECSImport.php.
References $ilDB, $query, and $res.
Referenced by ilObjRemoteCourse\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get all
public
Definition at line 86 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
get all imported links
public
Definition at line 66 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleImportReset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
check if econtent is imported for a specific mid
public
| int | econtent id | 
| int | mid | 
Definition at line 256 of file class.ilECSImport.php.
References _lookupObjId().
Referenced by ilECSTaskScheduler\handleUpdate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get econent_id
public
| int | obj_id | 
Definition at line 132 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteCourseGUI\infoScreen(), and ilObjRemoteCourseGUI\showObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::_lookupMID | ( | $a_obj_id | ) | 
Lookup mid.
public
Definition at line 193 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
Lookup mids by.
public
| int | econtent_id | 
Definition at line 215 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSTaskScheduler\handleUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::_lookupObjId | ( | $a_econtent_id, | |
| $a_mid | |||
| ) | 
loogup obj_id by econtent and mid
public
| int | econtent_id | 
Definition at line 172 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _isImported(), and ilECSTaskScheduler\handleDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::_lookupObjIds | ( | $a_econtent_id | ) | 
lookup obj_id
public
Definition at line 151 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSTaskScheduler\handleDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup obj ids by mid
public
| int | mid | 
Definition at line 109 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
| ilECSImport::getEContentId | ( | ) | 
get econtent id
public
Definition at line 314 of file class.ilECSImport.php.
References $econtent_id.
| ilECSImport::getMID | ( | ) | 
| 
 | private | 
Read private.
Definition at line 347 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::save | ( | ) | 
Save.
public
Definition at line 324 of file class.ilECSImport.php.
References $ilDB, $query, and $res.
| ilECSImport::setEContentId | ( | $a_id | ) | 
set econtent id
public
| int | econtent id | 
Definition at line 303 of file class.ilECSImport.php.
| ilECSImport::setImported | ( | $a_status | ) | 
Set exported.
public
| bool | export status | 
Definition at line 268 of file class.ilECSImport.php.
| ilECSImport::setMID | ( | $a_mid | ) | 
set mid
public
| int | mid | 
Definition at line 280 of file class.ilECSImport.php.
| 
 | protected | 
Definition at line 36 of file class.ilECSImport.php.
| 
 | protected | 
Definition at line 39 of file class.ilECSImport.php.
Referenced by getEContentId().
| 
 | protected | 
Definition at line 41 of file class.ilECSImport.php.
| 
 | protected | 
Definition at line 40 of file class.ilECSImport.php.
Referenced by getMID().
| 
 | protected | 
Definition at line 38 of file class.ilECSImport.php.