4 include_once(
"./Services/Object/classes/class.ilObject.php");
28 abstract protected function initType();
32 return parent::withReferences();
38 final public function read()
49 return parent::setRefId($a_id);
53 return parent::getRefId();
57 return parent::getType();
61 return parent::setType($a_type);
65 return parent::getPresentationTitle();
69 return parent::getTitle();
73 return parent::getUntranslatedTitle();
77 return parent::setTitle($a_title);
81 return parent::getDescription();
85 return parent::setDescription($a_desc);
89 return parent::getLongDescription();
93 return parent::getImportId();
97 return parent::setImportId($a_import_id);
101 return parent::_lookupObjIdByImportId($a_import_id);
105 return parent::getOwner();
109 return parent::getOwnerName();
113 return parent::_lookupOwnerName($a_owner_id);
117 return parent::setOwner($a_owner);
121 return parent::getCreateDate();
125 return parent::getLastUpdateDate();
128 final public function create($a_clone_mode =
false)
131 $id = parent::create();
156 if (!parent::update()) {
179 if (parent::MDUpdateListener($a_element)) {
199 if (parent::createMetaData()) {
219 if (parent::updateMetaData()) {
238 return parent::deleteMetaData();
242 return parent::updateOwner();
246 return parent::_getIdForImportId($a_import_id);
250 return parent::_getAllReferences($a_id);
254 return parent::_lookupTitle($a_id);
258 return parent::_lookupOwner($a_id);
262 return parent::_getIdsForTitle(
$title,
$type, $partialmatch);
266 return parent::_lookupDescription($a_id);
270 return parent::_lookupLastUpdate($a_id, $a_as_string);
274 return parent::_getLastUpdateOfObjects($a_objs);
278 return parent::_lookupObjId($a_id);
282 return parent::_setDeletedDate($a_ref_id, $a_deleted_by);
286 return parent::_resetDeletedDate($a_ref_id);
290 return parent::_lookupDeletedDate($a_ref_id);
294 return parent::_writeTitle($a_obj_id, $a_title);
298 return parent::_writeDescription($a_obj_id, $a_desc);
302 return parent::_writeImportId($a_obj_id, $a_import_id);
304 final public static function _lookupType($a_id, $a_reference =
false)
306 return parent::_lookupType($a_id, $a_reference);
310 return parent::_isInTrash($a_ref_id);
314 return parent::_hasUntrashedReference($a_obj_id);
318 return parent::_lookupObjectId($a_ref_id);
322 return parent::_getObjectsDataForType($a_type, $a_omit_trash);
326 return parent::putInTree($a_parent_ref);
330 return parent::setPermissions($a_parent_ref);
334 return parent::createReference();
338 return parent::countReferences();
341 final public function delete()
344 if (parent::delete()) {
367 final public static function _exists($a_id, $a_reference =
false, $a_type = null)
369 return parent::_exists($a_id, $a_reference, $a_type);
373 return parent::setRegisterMode($a_bool);
377 return parent::isUserRegistered($a_user_id);
381 return parent::requireRegistration();
387 return parent::_getObjectsByType($a_obj_type, $a_owner);
392 return parent::_prepareCloneSelection($a_ref_ids, $new_type, $a_show_path);
396 return parent::appendCopyInfo($a_target_id, $a_copy_id);
400 return parent::cloneMetaData($target_obj);
403 final public function cloneObject($a_target_id, $a_copy_id = null, $a_omit_tree =
false)
406 $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
425 return parent::cloneDependencies($a_target_id, $a_copy_id);
428 final public static function _getIcon($a_obj_id =
"", $a_size =
"big", $a_type =
"", $a_offline =
false)
430 return parent::_getIcon($a_obj_id, $a_size, $a_type, $a_offline);
static _lookupObjId($a_id)
static _lookupObjIdByImportId($a_import_id)
static _lookupDeletedDate($a_ref_id)
static _lookupLastUpdate($a_id, $a_as_string=false)
appendCopyInfo($a_target_id, $a_copy_id)
static _lookupTitle($a_id)
beforeCreate()
If overwritten this method should return true, there is currently no "abort" handling for cases where...
static _getObjectsDataForType($a_type, $a_omit_trash=false)
MDUpdateListener($a_element)
static _lookupObjectId($a_ref_id)
static _writeImportId($a_obj_id, $a_import_id)
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
static _prepareCloneSelection($a_ref_ids, $new_type, $a_show_path=true)
static _getObjectsByType($a_obj_type="", $a_owner="")
setPermissions($a_parent_ref)
static _lookupOwner($a_id)
static _writeDescription($a_obj_id, $a_desc)
static _getLastUpdateOfObjects($a_objs)
static _lookupOwnerName($a_owner_id)
doMDUpdateListener($a_element)
static _getAllReferences($a_id)
doCloneObject($new_obj, $a_target_id, $a_copy_id=null)
__construct($a_id=0, $a_reference=true)
Constructor public.
static _isInTrash($a_ref_id)
setImportId($a_import_id)
static _getIdsForTitle($title, $type='', $partialmatch=false)
static _getIdForImportId($a_import_id)
static _lookupDescription($a_id)
static _hasUntrashedReference($a_obj_id)
static _writeTitle($a_obj_id, $a_title)
static _resetDeletedDate($a_ref_id)
static _lookupType($a_id, $a_reference=false)
__construct(Container $dic, ilPlugin $plugin)
static _exists($a_id, $a_reference=false, $a_type=null)
cloneObject($a_target_id, $a_copy_id=null, $a_omit_tree=false)
create($a_clone_mode=false)
cloneDependencies($a_target_id, $a_copy_id)
static _setDeletedDate($a_ref_id, $a_deleted_by)
beforeMDUpdateListener($a_element)
isUserRegistered($a_user_id=0)
cloneMetaData($target_obj)