function &getLocationIds() { include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDLocation.php'; return ilMDLocation::_getIds($this->getRBACId(), $this->getObjId(), $this->getMetaId(), 'meta_technical'); }
/** * test Location * @group IL_Init * @return */ public function testLocation() { include_once './Services/MetaData/classes/class.ilMDLocation.php'; include_once 'Services/MetaData/classes/class.ilMDLanguageItem.php'; $con = new ilMDLocation(1, 2, 'xxx'); $con->setLocation(1); $ret = $con->save(); $this->assertGreaterThan(0, $ret); $con->setLocation(2); $con->update(); $con->read(); $desc = $con->getLocation(); $this->assertEquals(2, $desc); $con->delete(); }