ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilConditionObjectAdapter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
31 public function getObjIdForRefId(int $a_ref_id): int
32 {
33 return ilObject::_lookupObjId($a_ref_id);
34 }
35
39 public function getTypeForObjId(int $a_obj_id): string
40 {
41 return ilObject::_lookupType($a_obj_id);
42 }
43}
getObjIdForRefId(int $a_ref_id)
Get object id for reference id.
getTypeForObjId(int $a_obj_id)
Get object type for object id.
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)