ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilConditionObjectAdapter.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 {
16  public function __construct()
17  {
18  }
19 
26  public function getObjIdForRefId($a_ref_id)
27  {
28  return ilObject::_lookupObjId($a_ref_id);
29  }
30 
37  public function getTypeForObjId($a_obj_id)
38  {
39  return ilObject::_lookupType($a_obj_id);
40  }
41 }
Wraps ilObject dependencies.
getTypeForObjId($a_obj_id)
Get object type for object id.
static _lookupObjId($a_id)
static _lookupType($a_id, $a_reference=false)
lookup object type
getObjIdForRefId($a_ref_id)
Get object id for reference id.