4 include_once(
"./Services/Object/classes/class.ilObject.php");
25 parent::__construct($a_id, $a_reference);
28 abstract protected function initType();
35 final public function read()
45 function getId() {
return parent::getId(); }
46 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(); }
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 static function _lookupOwnerName($a_owner_id) {
return parent::_lookupOwnerName($a_owner_id); }
64 final function setOwner($a_owner) {
return parent::setOwner($a_owner); }
68 final function create($a_clone_mode =
false)
72 $id = parent::create();
95 if (!parent::update())
121 if(parent::MDUpdateListener($a_element))
144 if(parent::createMetaData())
167 if(parent::updateMetaData())
188 final static function _getIdForImportId($a_import_id) {
return parent::_getIdForImportId($a_import_id); }
190 final static function _lookupTitle($a_id) {
return parent::_lookupTitle($a_id); }
191 final static function _lookupOwner($a_id) {
return parent::_lookupOwner($a_id); }
194 final static function _lookupLastUpdate($a_id, $a_as_string =
false) {
return parent::_lookupLastUpdate($a_id, $a_as_string); }
196 final static function _lookupObjId($a_id) {
return parent::_lookupObjId($a_id); }
197 final static function _setDeletedDate($a_ref_id) {
return parent::_setDeletedDate($a_ref_id); }
198 final public static function _resetDeletedDate($a_ref_id) {
return parent::_resetDeletedDate($a_ref_id); }
199 final static function _lookupDeletedDate($a_ref_id) {
return parent::_lookupDeletedDate($a_ref_id); }
200 final static function _writeTitle($a_obj_id, $a_title) {
return parent::_writeTitle($a_obj_id, $a_title); }
201 final static function _writeDescription($a_obj_id, $a_desc) {
return parent::_writeDescription($a_obj_id, $a_desc); }
202 final static function _writeImportId($a_obj_id, $a_import_id) {
return parent::_writeImportId($a_obj_id, $a_import_id); }
203 final static function _lookupType($a_id,$a_reference =
false) {
return parent::_lookupType($a_id,$a_reference); }
204 final public static function _isInTrash($a_ref_id) {
return parent::_isInTrash($a_ref_id); }
206 final static function _lookupObjectId($a_ref_id) {
return parent::_lookupObjectId($a_ref_id); }
208 final function putInTree($a_parent_ref) {
return parent::putInTree($a_parent_ref); }
209 final function setPermissions($a_parent_ref) {
return parent::setPermissions($a_parent_ref); }
213 final function delete()
239 final public static function _exists($a_id, $a_reference =
false,
$a_type = null) {
return parent::_exists($a_id, $a_reference,
$a_type); }
241 final function isUserRegistered($a_user_id = 0) {
return parent::isUserRegistered($a_user_id); }
245 final static function _getObjectsByType($a_obj_type =
"", $a_owner =
"") {
return parent::_getObjectsByType($a_obj_type, $a_owner); }
247 final static function _prepareCloneSelection($a_ref_ids,$new_type, $a_show_path =
true) {
return parent::_prepareCloneSelection($a_ref_ids,$new_type, $a_show_path); }
248 final function appendCopyInfo($a_target_id,$a_copy_id) {
return parent::appendCopyInfo($a_target_id,$a_copy_id); }
249 final function cloneMetaData($target_obj) {
return parent::cloneMetaData($target_obj); }
251 final function cloneObject($a_target_id, $a_copy_id = null, $a_omit_tree =
false)
255 $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
274 function cloneDependencies($a_target_id,$a_copy_id) {
return parent::cloneDependencies($a_target_id,$a_copy_id); }
276 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); }
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)
Class ilObject Basic functions for all objects.
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)
Create styles array
The data for the language used.
static _writeTitle($a_obj_id, $a_title)
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)
Class ilObject2 This is an intermediate progress of ilObject class.
create($a_clone_mode=false)
cloneDependencies($a_target_id, $a_copy_id)
beforeMDUpdateListener($a_element)
isUserRegistered($a_user_id=0)
cloneMetaData($target_obj)