4 include_once(
"./Services/Object/classes/class.ilObject.php");
25 parent::__construct($a_id, $a_reference);
28 abstract protected function initType();
32 return parent::withReferences();
38 final public function read()
49 return parent::getId();
53 return parent::setId($a_id);
57 return parent::setRefId($a_id);
61 return parent::getRefId();
65 return parent::getType();
69 return parent::setType(
$a_type);
73 return parent::getPresentationTitle();
77 return parent::getTitle();
81 return parent::getUntranslatedTitle();
85 return parent::setTitle($a_title);
89 return parent::getDescription();
93 return parent::setDescription($a_desc);
97 return parent::getLongDescription();
101 return parent::getImportId();
105 return parent::setImportId($a_import_id);
109 return parent::_lookupObjIdByImportId($a_import_id);
113 return parent::getOwner();
117 return parent::getOwnerName();
121 return parent::_lookupOwnerName($a_owner_id);
125 return parent::setOwner($a_owner);
129 return parent::getCreateDate();
133 return parent::getLastUpdateDate();
136 final public function create($a_clone_mode =
false)
139 $id = parent::create();
182 if (parent::MDUpdateListener($a_element)) {
202 if (parent::createMetaData()) {
222 if (parent::updateMetaData()) {
241 return parent::deleteMetaData();
245 return parent::updateOwner();
249 return parent::_getIdForImportId($a_import_id);
253 return parent::_getAllReferences($a_id);
257 return parent::_lookupTitle($a_id);
261 return parent::_lookupOwner($a_id);
265 return parent::_getIdsForTitle(
$title,
$type, $partialmatch);
269 return parent::_lookupDescription($a_id);
273 return parent::_lookupLastUpdate($a_id, $a_as_string);
277 return parent::_getLastUpdateOfObjects($a_objs);
281 return parent::_lookupObjId($a_id);
285 return parent::_setDeletedDate($a_ref_id);
289 return parent::_resetDeletedDate($a_ref_id);
293 return parent::_lookupDeletedDate($a_ref_id);
297 return parent::_writeTitle($a_obj_id, $a_title);
301 return parent::_writeDescription($a_obj_id, $a_desc);
305 return parent::_writeImportId($a_obj_id, $a_import_id);
307 final public static function _lookupType($a_id, $a_reference =
false)
309 return parent::_lookupType($a_id, $a_reference);
313 return parent::_isInTrash($a_ref_id);
317 return parent::_hasUntrashedReference($a_obj_id);
321 return parent::_lookupObjectId($a_ref_id);
325 return parent::_getObjectsDataForType(
$a_type, $a_omit_trash);
329 return parent::putInTree($a_parent_ref);
333 return parent::setPermissions($a_parent_ref);
337 return parent::createReference();
341 return parent::countReferences();
344 final public function delete()
347 if (parent::delete()) {
370 final public static function _exists($a_id, $a_reference =
false,
$a_type = null)
372 return parent::_exists($a_id, $a_reference,
$a_type);
376 return parent::setRegisterMode($a_bool);
380 return parent::isUserRegistered($a_user_id);
384 return parent::requireRegistration();
390 return parent::_getObjectsByType($a_obj_type, $a_owner);
395 return parent::_prepareCloneSelection($a_ref_ids, $new_type, $a_show_path);
399 return parent::appendCopyInfo($a_target_id, $a_copy_id);
403 return parent::cloneMetaData($target_obj);
406 final public function cloneObject($a_target_id, $a_copy_id = null, $a_omit_tree =
false)
409 $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
428 return parent::cloneDependencies($a_target_id, $a_copy_id);
431 final public static function _getIcon($a_obj_id =
"", $a_size =
"big",
$a_type =
"", $a_offline =
false)
433 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)
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)
static _setDeletedDate($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)
update($pash, $contents, Config $config)
static _resetDeletedDate($a_ref_id)
static _lookupType($a_id, $a_reference=false)
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)
beforeMDUpdateListener($a_element)
isUserRegistered($a_user_id=0)
cloneMetaData($target_obj)