4 include_once(
"./Services/Object/classes/class.ilObject.php");
25 parent::ilObject($a_id, $a_reference);
28 abstract protected function initType();
35 final function read($a_force_db =
false)
37 parent::read($a_force_db);
45 final function getId() {
return parent::getId(); }
46 final function setId($a_id) {
return parent::setId($a_id); }
47 final function setRefId($a_id) {
return parent::setRefId($a_id); }
48 final function getRefId() {
return parent::getRefId(); }
49 final function getType() {
return parent::getType(); }
50 final function setType($a_type) {
return parent::setType($a_type); }
52 final function getTitle() {
return parent::getTitle(); }
54 final function setTitle($a_title) {
return parent::setTitle($a_title); }
56 final function setDescription($a_desc) {
return parent::setDescription($a_desc); }
58 final function getImportId() {
return parent::getImportId(); }
59 final function setImportId($a_import_id) {
return parent::setImportId($a_import_id); }
61 final function getOwner() {
return parent::getOwner(); }
63 final function _lookupOwnerName($a_owner_id) {
return parent::_lookupOwnerName($a_owner_id); }
64 final function setOwner($a_owner) {
return parent::setOwner($a_owner); }
67 final function setObjDataRecord($a_record) {
return parent::setObjDataRecord($a_record); }
69 final function create($a_clone_mode =
false)
73 $id = parent::create();
96 if (!parent::update())
122 if(parent::MDUpdateListener($a_element))
145 if(parent::createMetaData())
168 if(parent::updateMetaData())
189 final function _getIdForImportId($a_import_id) {
return parent::_getIdForImportId($a_import_id); }
191 final static function _lookupTitle($a_id) {
return parent::_lookupTitle($a_id); }
192 final function _lookupOwner($a_id) {
return parent::_lookupOwner($a_id); }
195 final function _lookupLastUpdate($a_id, $a_as_string =
false) {
return parent::_lookupLastUpdate($a_id, $a_as_string); }
197 final static function _lookupObjId($a_id) {
return parent::_lookupObjId($a_id); }
198 final function _setDeletedDate($a_ref_id) {
return parent::_setDeletedDate($a_ref_id); }
201 final function _writeTitle($a_obj_id, $a_title) {
return parent::_writeTitle($a_obj_id, $a_title); }
202 final function _writeDescription($a_obj_id, $a_desc) {
return parent::_writeDescription($a_obj_id, $a_desc); }
203 final function _writeImportId($a_obj_id, $a_import_id) {
return parent::_writeImportId($a_obj_id, $a_import_id); }
204 final static function _lookupType($a_id,$a_reference =
false) {
return parent::_lookupType($a_id,$a_reference); }
205 final function _isInTrash($a_ref_id) {
return parent::_isInTrash($a_ref_id); }
207 final static function _lookupObjectId($a_ref_id) {
return parent::_lookupObjectId($a_ref_id); }
208 final function _getObjectsDataForType($a_type, $a_omit_trash =
false) {
return parent::_getObjectsDataForType($a_type, $a_omit_trash); }
209 final function putInTree($a_parent_ref) {
return parent::putInTree($a_parent_ref); }
210 final function setPermissions($a_parent_ref) {
return parent::setPermissions($a_parent_ref); }
214 final function delete()
241 final public static function _exists($a_id, $a_reference =
false) {
return parent::_exists($a_id, $a_reference); }
242 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0) {
return parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params); }
244 final function isUserRegistered($a_user_id = 0) {
return parent::isUserRegistered($a_user_id); }
248 final static function _getObjectsByType($a_obj_type =
"", $a_owner =
"") {
return parent::_getObjectsByType($a_obj_type, $a_owner); }
250 final static function _prepareCloneSelection($a_ref_ids,$new_type) {
return parent::_prepareCloneSelection($a_ref_ids,$new_type); }
251 final function appendCopyInfo($a_target_id,$a_copy_id) {
return parent::appendCopyInfo($a_target_id,$a_copy_id); }
252 final function cloneMetaData($target_obj) {
return parent::cloneMetaData($target_obj); }
254 final function cloneObject($a_target_id, $a_copy_id = null, $a_omit_tree =
false)
258 $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
277 function cloneDependencies($a_target_id,$a_copy_id) {
return parent::cloneDependencies($a_target_id,$a_copy_id); }
279 final public static function _getIcon($a_obj_id =
"", $a_size =
"big", $a_type =
"", $a_offline =
false) {
return parent::_getIcon($a_obj_id, $a_size, $a_type, $a_offline); }
_lookupDeletedDate($a_ref_id)
static _lookupObjId($a_id)
static _lookupObjIdByImportId($a_import_id)
_hasUntrashedReference($a_obj_id)
appendCopyInfo($a_target_id, $a_copy_id)
static _lookupTitle($a_id)
Class ilObject Basic functions for all objects.
_resetDeletedDate($a_ref_id)
_writeDescription($a_obj_id, $a_desc)
_writeTitle($a_obj_id, $a_title)
MDUpdateListener($a_element)
static _lookupObjectId($a_ref_id)
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
static _getObjectsByType($a_obj_type="", $a_owner="")
setObjDataRecord($a_record)
read($a_force_db=false)
Read data from db.
setPermissions($a_parent_ref)
_getLastUpdateOfObjects($a_objs)
doMDUpdateListener($a_element)
static _prepareCloneSelection($a_ref_ids, $new_type)
static _getAllReferences($a_id)
doCloneObject($new_obj, $a_target_id, $a_copy_id=null)
__construct($a_id=0, $a_reference=true)
Constructor public.
setImportId($a_import_id)
static _getIdsForTitle($title, $type='', $partialmatch=false)
static _lookupDescription($a_id)
_lookupLastUpdate($a_id, $a_as_string=false)
_getIdForImportId($a_import_id)
notify($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0)
static _lookupType($a_id, $a_reference=false)
cloneObject($a_target_id, $a_copy_id=null, $a_omit_tree=false)
Class ilObject2 This is an intermediate progress of ilObject class.
create($a_clone_mode=false)
_getObjectsDataForType($a_type, $a_omit_trash=false)
_writeImportId($a_obj_id, $a_import_id)
static _exists($a_id, $a_reference=false)
_lookupOwnerName($a_owner_id)
cloneDependencies($a_target_id, $a_copy_id)
_setDeletedDate($a_ref_id)
beforeMDUpdateListener($a_element)
isUserRegistered($a_user_id=0)
cloneMetaData($target_obj)