ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilObjRemoteCategory.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once('Services/WebServices/ECS/classes/class.ilRemoteObjectBase.php');
5
16{
17 const DB_TABLE_NAME = "rcat_settings";
18
19 public function initType()
20 {
21 $this->type = "rcat";
22 }
23
24 protected function getTableName()
25 {
27 }
28
29 protected function getECSObjectType()
30 {
31 return "/campusconnect/categories";
32 }
33
34 //
35 // no late static binding yet
36 //
37
38 public static function _lookupMID($a_obj_id)
39 {
40 return ilRemoteObjectBase::_lookupMID($a_obj_id, self::DB_TABLE_NAME);
41 }
42
43 public static function _lookupOrganization($a_obj_id)
44 {
45 return ilRemoteObjectBase::_lookupOrganization($a_obj_id, self::DB_TABLE_NAME);
46 }
47}
48
49?>
Remote category app class.
static _lookupOrganization($a_obj_id)
getECSObjectType()
Get ECS resource identifier, e.g.
getTableName()
Get db table name.
Remote object app base class.
static _lookupOrganization($a_obj_id, $a_table)
lookup organization
static _lookupMID($a_obj_id, $a_table)
lookup owner mid