ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObject2 Class Reference

Class ilObject2 This is an intermediate progress of ilObject class. More...

+ Inheritance diagram for ilObject2:
+ Collaboration diagram for ilObject2:

Public Member Functions

 __construct ($a_id=0, $a_reference=true)
 Constructor public. More...
 
 withReferences ()
 
 read ()
 Read data from db. More...
 
 getId ()
 
 setId ($a_id)
 
 setRefId ($a_id)
 
 getRefId ()
 
 getType ()
 
 setType ($a_type)
 
 getPresentationTitle ()
 
 getTitle ()
 
 getUntranslatedTitle ()
 
 setTitle ($a_title)
 
 getDescription ()
 
 setDescription ($a_desc)
 
 getLongDescription ()
 
 getImportId ()
 
 setImportId ($a_import_id)
 
 getOwner ()
 
 getOwnerName ()
 
 setOwner ($a_owner)
 
 getCreateDate ()
 
 getLastUpdateDate ()
 
 create ($a_clone_mode=false)
 
 update ()
 
 MDUpdateListener ($a_element)
 
 createMetaData ()
 
 updateMetaData ()
 
 deleteMetaData ()
 
 updateOwner ()
 
 putInTree ($a_parent_ref)
 
 setPermissions ($a_parent_ref)
 
 createReference ()
 
 countReferences ()
 
 delete ()
 
 initDefaultRoles ()
 
 setRegisterMode ($a_bool)
 
 isUserRegistered ($a_user_id=0)
 
 requireRegistration ()
 
 appendCopyInfo ($a_target_id, $a_copy_id)
 
 cloneMetaData ($target_obj)
 
 cloneObject ($a_target_id, $a_copy_id=null, $a_omit_tree=false)
 
 cloneDependencies ($a_target_id, $a_copy_id)
 
- Public Member Functions inherited from ilObject
 __construct ($a_id=0, $a_reference=true)
 Constructor public. More...
 
 withReferences ()
 determines wehter objects are referenced or not (got ref ids or not) More...
 
 read ()
 read object data from db into object More...
 
 getId ()
 get object id public More...
 
 setId ($a_id)
 set object id public More...
 
 setRefId ($a_id)
 set reference id public More...
 
 getRefId ()
 get reference id public More...
 
 getType ()
 get object type public More...
 
 setType ($a_type)
 set object type public More...
 
 getPresentationTitle ()
 get presentation title Normally same as title Overwritten for sessions More...
 
 getTitle ()
 get object title public More...
 
 getUntranslatedTitle ()
 get untranslated object title public More...
 
 setTitle ($a_title)
 set object title More...
 
 getDescription ()
 get object description More...
 
 setDescription ($a_desc)
 set object description More...
 
 getLongDescription ()
 get object long description (stored in object_description) More...
 
 getImportId ()
 get import id More...
 
 setImportId ($a_import_id)
 set import id More...
 
 getOwner ()
 get object owner More...
 
 getOwnerName ()
 
 setOwner ($a_owner)
 set object owner More...
 
 getCreateDate ()
 get create date public More...
 
 getLastUpdateDate ()
 get last update date public More...
 
 getDiskUsage ()
 Gets the disk usage of the object in bytes. More...
 
 create ()
 create More...
 
 update ()
 update object in db More...
 
 MDUpdateListener ($a_element)
 Meta data update listener. More...
 
 createMetaData ()
 create meta data entry More...
 
 updateMetaData ()
 update meta data entry More...
 
 deleteMetaData ()
 delete meta data entry More...
 
 updateOwner ()
 update owner of object in db More...
 
 putInTree ($a_parent_ref)
 maybe this method should be in tree object!? More...
 
 setPermissions ($a_parent_ref)
 set permissions of object More...
 
 setParentRolePermissions ($a_parent_ref)
 Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More...
 
 createReference ()
 creates reference for object More...
 
 countReferences ()
 count references of object More...
 
 delete ()
 delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More...
 
 initDefaultRoles ()
 init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More...
 
 applyDidacticTemplate ($a_tpl_id)
 Apply template. More...
 
 setRegisterMode ($a_bool)
 
 isUserRegistered ($a_user_id=0)
 
 requireRegistration ()
 
 getXMLZip ()
 
 getHTMLDirectory ()
 
 cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false)
 Clone object permissions, put in tree ... More...
 
 appendCopyInfo ($a_target_id, $a_copy_id)
 Prepend Copy info if object with same name exists in that container. More...
 
 cloneDependencies ($a_target_id, $a_copy_id)
 Clone object dependencies. More...
 
 cloneMetaData ($target_obj)
 Copy meta data. More...
 
 getPossibleSubObjects ($a_filter=true)
 get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More...
 

Static Public Member Functions

static _lookupObjIdByImportId ($a_import_id)
 
static _lookupOwnerName ($a_owner_id)
 
static _getIdForImportId ($a_import_id)
 
static _getAllReferences ($a_id)
 
static _lookupTitle ($a_id)
 
static _lookupOwner ($a_id)
 
static _getIdsForTitle ($title, $type='', $partialmatch=false)
 
static _lookupDescription ($a_id)
 
static _lookupLastUpdate ($a_id, $a_as_string=false)
 
static _getLastUpdateOfObjects ($a_objs)
 
static _lookupObjId ($a_id)
 
static _setDeletedDate ($a_ref_id)
 
static _resetDeletedDate ($a_ref_id)
 
static _lookupDeletedDate ($a_ref_id)
 
static _writeTitle ($a_obj_id, $a_title)
 
static _writeDescription ($a_obj_id, $a_desc)
 
static _writeImportId ($a_obj_id, $a_import_id)
 
static _lookupType ($a_id, $a_reference=false)
 
static _isInTrash ($a_ref_id)
 
static _hasUntrashedReference ($a_obj_id)
 
static _lookupObjectId ($a_ref_id)
 
static _getObjectsDataForType ($a_type, $a_omit_trash=false)
 
static _exists ($a_id, $a_reference=false, $a_type=null)
 
static _getObjectsByType ($a_obj_type="", $a_owner="")
 
static _prepareCloneSelection ($a_ref_ids, $new_type, $a_show_path=true)
 
static _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
 
- Static Public Member Functions inherited from ilObject
static _lookupObjIdByImportId ($a_import_id)
 
static _lookupImportId ($a_obj_id)
 
static _lookupOwnerName ($a_owner_id)
 lookup owner name for owner id More...
 
static _getIdForImportId ($a_import_id)
 get current object id for import id (static) More...
 
static _getAllReferences ($a_id)
 get all reference ids of object More...
 
static _lookupTitle ($a_id)
 lookup object title More...
 
static _lookupOwner ($a_id)
 lookup object owner More...
 
static _getIdsForTitle ($title, $type='', $partialmatch=false)
 
static _lookupDescription ($a_id)
 lookup object description More...
 
static _lookupLastUpdate ($a_id, $a_as_string=false)
 lookup last update More...
 
static _getLastUpdateOfObjects ($a_objs)
 Get last update for a set of media objects. More...
 
static _lookupObjId ($a_id)
 
static _setDeletedDate ($a_ref_id)
 only called in ilTree::saveSubTree More...
 
static setDeletedDates ($a_ref_ids)
 Set deleted date type $ilDB. More...
 
static _resetDeletedDate ($a_ref_id)
 only called in ilObjectGUI::insertSavedNodes More...
 
static _lookupDeletedDate ($a_ref_id)
 only called in ilObjectGUI::insertSavedNodes More...
 
static _writeTitle ($a_obj_id, $a_title)
 write title to db (static) More...
 
static _writeDescription ($a_obj_id, $a_desc)
 write description to db (static) More...
 
static _writeImportId ($a_obj_id, $a_import_id)
 write import id to db (static) More...
 
static _lookupType ($a_id, $a_reference=false)
 lookup object type More...
 
static _isInTrash ($a_ref_id)
 checks wether object is in trash More...
 
static _hasUntrashedReference ($a_obj_id)
 checks wether an object has at least one reference that is not in trash More...
 
static _lookupObjectId ($a_ref_id)
 lookup object id More...
 
static _getObjectsDataForType ($a_type, $a_omit_trash=false)
 get all objects of a certain type More...
 
static _exists ($a_id, $a_reference=false, $a_type=null)
 checks if an object exists in object_data More...
 
static _getObjectsByType ($a_obj_type="", $a_owner="")
 Get objects by type. More...
 
static _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true)
 Prepare copy wizard object selection. More...
 
static _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
 Get icon for repository item. More...
 
static collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0)
 Collect deletion dependencies. More...
 
static getDeletionDependencies ($a_obj_id)
 Get deletion dependencies. More...
 
static getLongDescriptions (array $a_obj_ids)
 Get long description data. More...
 
static getAllOwnedRepositoryObjects ($a_user_id)
 Get all ids of objects user owns. More...
 
static fixMissingTitles ($a_type, array &$a_obj_title_map)
 Try to fix missing object titles. More...
 
static _lookupCreationDate ($a_id)
 Lookup creation date. More...
 
static hasAutoRating ($a_type, $a_ref_id)
 Check if auto rating is active for parent group/course. More...
 

Protected Member Functions

 initType ()
 
 doRead ()
 
 doCreate ()
 
 beforeCreate ()
 
 doUpdate ()
 
 beforeUpdate ()
 
 doMDUpdateListener ($a_element)
 
 beforeMDUpdateListener ($a_element)
 
 doCreateMetaData ()
 
 beforeCreateMetaData ()
 
 doUpdateMetaData ()
 
 beforeUpdateMetaData ()
 
 doDelete ()
 
 beforeDelete ()
 
 doCloneObject ($new_obj, $a_target_id, $a_copy_id=null)
 
 beforeCloneObject ()
 

Additional Inherited Members

- Data Fields inherited from ilObject
const TITLE_LENGTH = 255
 max length of object title More...
 
const DESC_LENGTH = 128
 
 $ilias
 
 $lng
 
 $id
 
 $ref_id
 
 $type
 
 $title
 
 $untranslatedTitle
 
 $desc
 
 $long_desc
 
 $owner
 
 $create_date
 
 $last_update
 
 $import_id
 
 $register = false
 
 $referenced
 
 $objectList
 
 $max_title
 
 $max_desc
 
 $add_dots
 

Detailed Description

Class ilObject2 This is an intermediate progress of ilObject class.

Please do not ust it yet.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 14 of file class.ilObject2.php.

Constructor & Destructor Documentation

◆ __construct()

ilObject2::__construct (   $a_id = 0,
  $a_reference = true 
)

Constructor public.

Parameters
integerreference_id or object_id
booleantreat the id as reference_id (true) or object_id (false)

Definition at line 22 of file class.ilObject2.php.

References initType().

23  {
24  $this->initType();
25  parent::__construct($a_id, $a_reference);
26  }
+ Here is the call graph for this function:

Member Function Documentation

◆ _exists()

static ilObject2::_exists (   $a_id,
  $a_reference = false,
  $a_type = null 
)
staticfinal

◆ _getAllReferences()

static ilObject2::_getAllReferences (   $a_id)
staticfinal

◆ _getIcon()

static ilObject2::_getIcon (   $a_obj_id = "",
  $a_size = "big",
  $a_type = "",
  $a_offline = false 
)
staticfinal

Definition at line 276 of file class.ilObject2.php.

References $a_type.

Referenced by ilObjQuestionPoolGUI\setTitleAndDescription().

276 { return parent::_getIcon($a_obj_id, $a_size, $a_type, $a_offline); }
$a_type
Definition: workflow.php:93
+ Here is the caller graph for this function:

◆ _getIdForImportId()

static ilObject2::_getIdForImportId (   $a_import_id)
staticfinal

Definition at line 188 of file class.ilObject2.php.

188 { return parent::_getIdForImportId($a_import_id); }

◆ _getIdsForTitle()

static ilObject2::_getIdsForTitle (   $title,
  $type = '',
  $partialmatch = false 
)
staticfinal

Definition at line 192 of file class.ilObject2.php.

References ilObject\$title, and ilObject\$type.

192 { return parent::_getIdsForTitle($title, $type, $partialmatch); }

◆ _getLastUpdateOfObjects()

static ilObject2::_getLastUpdateOfObjects (   $a_objs)
staticfinal

Definition at line 195 of file class.ilObject2.php.

195 { return parent::_getLastUpdateOfObjects($a_objs); }

◆ _getObjectsByType()

static ilObject2::_getObjectsByType (   $a_obj_type = "",
  $a_owner = "" 
)
staticfinal

Definition at line 245 of file class.ilObject2.php.

245 { return parent::_getObjectsByType($a_obj_type, $a_owner); }

◆ _getObjectsDataForType()

static ilObject2::_getObjectsDataForType (   $a_type,
  $a_omit_trash = false 
)
staticfinal

Definition at line 207 of file class.ilObject2.php.

References $a_type.

207 { return parent::_getObjectsDataForType($a_type, $a_omit_trash); }
$a_type
Definition: workflow.php:93

◆ _hasUntrashedReference()

static ilObject2::_hasUntrashedReference (   $a_obj_id)
staticfinal

Definition at line 205 of file class.ilObject2.php.

205 { return parent::_hasUntrashedReference($a_obj_id); }

◆ _isInTrash()

static ilObject2::_isInTrash (   $a_ref_id)
staticfinal

Definition at line 204 of file class.ilObject2.php.

204 { return parent::_isInTrash($a_ref_id); }

◆ _lookupDeletedDate()

static ilObject2::_lookupDeletedDate (   $a_ref_id)
staticfinal

Definition at line 199 of file class.ilObject2.php.

199 { return parent::_lookupDeletedDate($a_ref_id); }

◆ _lookupDescription()

static ilObject2::_lookupDescription (   $a_id)
staticfinal

Definition at line 193 of file class.ilObject2.php.

193 { return parent::_lookupDescription($a_id); }

◆ _lookupLastUpdate()

static ilObject2::_lookupLastUpdate (   $a_id,
  $a_as_string = false 
)
staticfinal

Definition at line 194 of file class.ilObject2.php.

194 { return parent::_lookupLastUpdate($a_id, $a_as_string); }

◆ _lookupObjectId()

◆ _lookupObjId()

static ilObject2::_lookupObjId (   $a_id)
staticfinal

Definition at line 196 of file class.ilObject2.php.

Referenced by ilDclBaseRecordModel\deleteMob().

196 { return parent::_lookupObjId($a_id); }
+ Here is the caller graph for this function:

◆ _lookupObjIdByImportId()

static ilObject2::_lookupObjIdByImportId (   $a_import_id)
staticfinal

Definition at line 60 of file class.ilObject2.php.

60 { return parent::_lookupObjIdByImportId($a_import_id); }

◆ _lookupOwner()

static ilObject2::_lookupOwner (   $a_id)
staticfinal

Definition at line 191 of file class.ilObject2.php.

191 { return parent::_lookupOwner($a_id); }

◆ _lookupOwnerName()

static ilObject2::_lookupOwnerName (   $a_owner_id)
staticfinal

Definition at line 63 of file class.ilObject2.php.

63 { return parent::_lookupOwnerName($a_owner_id); }

◆ _lookupTitle()

static ilObject2::_lookupTitle (   $a_id)
staticfinal

◆ _lookupType()

◆ _prepareCloneSelection()

static ilObject2::_prepareCloneSelection (   $a_ref_ids,
  $new_type,
  $a_show_path = true 
)
staticfinal

Definition at line 247 of file class.ilObject2.php.

247 { return parent::_prepareCloneSelection($a_ref_ids,$new_type, $a_show_path); }

◆ _resetDeletedDate()

static ilObject2::_resetDeletedDate (   $a_ref_id)
staticfinal

Definition at line 198 of file class.ilObject2.php.

198 { return parent::_resetDeletedDate($a_ref_id); }

◆ _setDeletedDate()

static ilObject2::_setDeletedDate (   $a_ref_id)
staticfinal

Definition at line 197 of file class.ilObject2.php.

197 { return parent::_setDeletedDate($a_ref_id); }

◆ _writeDescription()

static ilObject2::_writeDescription (   $a_obj_id,
  $a_desc 
)
staticfinal

Definition at line 201 of file class.ilObject2.php.

201 { return parent::_writeDescription($a_obj_id, $a_desc); }

◆ _writeImportId()

static ilObject2::_writeImportId (   $a_obj_id,
  $a_import_id 
)
staticfinal

Definition at line 202 of file class.ilObject2.php.

202 { return parent::_writeImportId($a_obj_id, $a_import_id); }

◆ _writeTitle()

static ilObject2::_writeTitle (   $a_obj_id,
  $a_title 
)
staticfinal

Definition at line 200 of file class.ilObject2.php.

200 { return parent::_writeTitle($a_obj_id, $a_title); }

◆ appendCopyInfo()

ilObject2::appendCopyInfo (   $a_target_id,
  $a_copy_id 
)
final

Definition at line 248 of file class.ilObject2.php.

248 { return parent::appendCopyInfo($a_target_id,$a_copy_id); }

◆ beforeCloneObject()

ilObject2::beforeCloneObject ( )
protected

Definition at line 269 of file class.ilObject2.php.

Referenced by cloneObject().

270  {
271  return true;
272  }
+ Here is the caller graph for this function:

◆ beforeCreate()

ilObject2::beforeCreate ( )
protected

Definition at line 86 of file class.ilObject2.php.

Referenced by create().

87  {
88  return true;
89  }
+ Here is the caller graph for this function:

◆ beforeCreateMetaData()

ilObject2::beforeCreateMetaData ( )
protected

Definition at line 158 of file class.ilObject2.php.

Referenced by createMetaData().

159  {
160  return true;
161  }
+ Here is the caller graph for this function:

◆ beforeDelete()

ilObject2::beforeDelete ( )
protected

Definition at line 232 of file class.ilObject2.php.

Referenced by delete().

233  {
234  return true;
235  }
+ Here is the caller graph for this function:

◆ beforeMDUpdateListener()

ilObject2::beforeMDUpdateListener (   $a_element)
protected

Definition at line 135 of file class.ilObject2.php.

Referenced by MDUpdateListener().

136  {
137  return true;
138  }
+ Here is the caller graph for this function:

◆ beforeUpdate()

ilObject2::beforeUpdate ( )
protected

Definition at line 112 of file class.ilObject2.php.

Referenced by update().

113  {
114  return true;
115  }
+ Here is the caller graph for this function:

◆ beforeUpdateMetaData()

ilObject2::beforeUpdateMetaData ( )
protected

Definition at line 181 of file class.ilObject2.php.

Referenced by updateMetaData().

182  {
183  return true;
184  }
+ Here is the caller graph for this function:

◆ cloneDependencies()

ilObject2::cloneDependencies (   $a_target_id,
  $a_copy_id 
)

Definition at line 274 of file class.ilObject2.php.

274 { return parent::cloneDependencies($a_target_id,$a_copy_id); }

◆ cloneMetaData()

ilObject2::cloneMetaData (   $target_obj)
final

Definition at line 249 of file class.ilObject2.php.

Referenced by ilObjFile\doCloneObject().

249 { return parent::cloneMetaData($target_obj); }
+ Here is the caller graph for this function:

◆ cloneObject()

ilObject2::cloneObject (   $a_target_id,
  $a_copy_id = null,
  $a_omit_tree = false 
)
final

Definition at line 251 of file class.ilObject2.php.

References beforeCloneObject(), and doCloneObject().

Referenced by ilDclFileuploadRecordFieldModel\afterClone().

252  {
253  if($this->beforeCloneObject())
254  {
255  $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
256  if($new_obj)
257  {
258  $this->doCloneObject($new_obj, $a_target_id, $a_copy_id);
259  return $new_obj;
260  }
261  }
262  }
doCloneObject($new_obj, $a_target_id, $a_copy_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ countReferences()

ilObject2::countReferences ( )
final

Definition at line 211 of file class.ilObject2.php.

211 { return parent::countReferences(); }

◆ create()

ilObject2::create (   $a_clone_mode = false)
final

Definition at line 68 of file class.ilObject2.php.

References ilObject\$id, beforeCreate(), and doCreate().

69  {
70  if($this->beforeCreate())
71  {
72  $id = parent::create();
73  if($id)
74  {
75  $this->doCreate($a_clone_mode);
76  return $id;
77  }
78  }
79  }
+ Here is the call graph for this function:

◆ createMetaData()

ilObject2::createMetaData ( )
final

Definition at line 140 of file class.ilObject2.php.

References beforeCreateMetaData(), and doCreateMetaData().

Referenced by ilObjFile\createProperties().

141  {
142  if($this->beforeCreateMetaData())
143  {
144  if(parent::createMetaData())
145  {
146  $this->doCreateMetaData();
147  return true;
148  }
149  }
150  return false;
151  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createReference()

ilObject2::createReference ( )
final

Definition at line 210 of file class.ilObject2.php.

Referenced by ilRemoteObjectBase\createFromECSEContent().

210 { return parent::createReference(); }
+ Here is the caller graph for this function:

◆ delete()

ilObject2::delete ( )
final

Definition at line 213 of file class.ilObject2.php.

References beforeDelete(), and doDelete().

Referenced by ilObjTaxonomyGUI\confirmedDelete().

214  {
215  if($this->beforeDelete())
216  {
217  if(parent::delete())
218  {
219  $this->doDelete();
220  $this->id = null;
221  return true;
222  }
223  }
224  return false;
225  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteMetaData()

ilObject2::deleteMetaData ( )
final

Definition at line 186 of file class.ilObject2.php.

Referenced by ilObjFile\doDelete().

186 { return parent::deleteMetaData(); }
+ Here is the caller graph for this function:

◆ doCloneObject()

ilObject2::doCloneObject (   $new_obj,
  $a_target_id,
  $a_copy_id = null 
)
protected

Definition at line 264 of file class.ilObject2.php.

Referenced by cloneObject().

265  {
266 
267  }
+ Here is the caller graph for this function:

◆ doCreate()

ilObject2::doCreate ( )
protected

Definition at line 81 of file class.ilObject2.php.

Referenced by create().

82  {
83 
84  }
+ Here is the caller graph for this function:

◆ doCreateMetaData()

ilObject2::doCreateMetaData ( )
protected

Definition at line 153 of file class.ilObject2.php.

Referenced by createMetaData().

154  {
155 
156  }
+ Here is the caller graph for this function:

◆ doDelete()

ilObject2::doDelete ( )
protected

Definition at line 227 of file class.ilObject2.php.

Referenced by delete(), and ilObjBibliographic\doUpdate().

228  {
229 
230  }
+ Here is the caller graph for this function:

◆ doMDUpdateListener()

ilObject2::doMDUpdateListener (   $a_element)
protected

Definition at line 130 of file class.ilObject2.php.

Referenced by MDUpdateListener().

131  {
132 
133  }
+ Here is the caller graph for this function:

◆ doRead()

ilObject2::doRead ( )
protected

Definition at line 40 of file class.ilObject2.php.

Referenced by read().

41  {
42 
43  }
+ Here is the caller graph for this function:

◆ doUpdate()

ilObject2::doUpdate ( )
protected

Definition at line 107 of file class.ilObject2.php.

Referenced by update().

108  {
109 
110  }
+ Here is the caller graph for this function:

◆ doUpdateMetaData()

ilObject2::doUpdateMetaData ( )
protected

Definition at line 176 of file class.ilObject2.php.

Referenced by updateMetaData().

177  {
178 
179  }
+ Here is the caller graph for this function:

◆ getCreateDate()

ilObject2::getCreateDate ( )
final

Definition at line 65 of file class.ilObject2.php.

65 { return parent::getCreateDate(); }

◆ getDescription()

ilObject2::getDescription ( )
final

Definition at line 55 of file class.ilObject2.php.

Referenced by ilObjFile\addNewsNotification(), ilObjTaxonomy\doCloneObject(), and ilRemoteObjectBase\sendNewContentNotification().

55 { return parent::getDescription(); }
+ Here is the caller graph for this function:

◆ getId()

ilObject2::getId ( )

Definition at line 45 of file class.ilObject2.php.

Referenced by ilObjFile\__construct(), ilQuestionPoolDuplicatedTaxonomiesKeysMap\addDuplicatedTaxonomy(), ilObjFile\addFileVersion(), ilObjFile\addNewsNotification(), ilObjWorkspaceRootFolder\addTranslation(), ilDclFileuploadRecordFieldModel\afterClone(), ilObjFile\beforeMDUpdateListener(), ilObjPortfolioBase\cloneBasics(), ilObjPortfolioBase\clonePagesAndSettings(), ilObjDataCollection\cloneStructure(), ilObjPoll\countVotes(), ilRemoteObjectBase\createAuthResource(), ilObjFile\createProperties(), ilObjPoll\deleteAllAnswers(), ilObjPoll\deleteAllVotes(), ilObjFile\deletePreview(), ilObjFile\deleteVersions(), ilObjPortfolioTemplate\doCloneObject(), ilObjBlog\doCloneObject(), ilObjBibliographic\doCloneObject(), ilObjFile\doCloneObject(), ilObjDataCollection\doCreate(), ilObjItemGroup\doCreate(), ilObjTaxonomy\doCreate(), ilObjPoll\doCreate(), ilRemoteObjectBase\doCreate(), ilObjFile\doCreateMetaData(), ilObjDataCollection\doDelete(), ilObjItemGroup\doDelete(), ilObjBibliographic\doDelete(), ilObjCloud\doDelete(), ilObjTaxonomy\doDelete(), ilObjPoll\doDelete(), ilRemoteObjectBase\doDelete(), ilObjFile\doDelete(), ilObjFile\doMDUpdateListener(), ilObjItemGroup\doRead(), ilObjPoll\doRead(), ilRemoteObjectBase\doRead(), ilObjFile\doRead(), ilObjDataCollection\doUpdate(), ilObjItemGroup\doUpdate(), ilObjPoll\doUpdate(), ilRemoteObjectBase\doUpdate(), ilObjFile\doUpdate(), ilObjFile\doUpdateMetaData(), ilObjFile\export(), ilObjPoll\getAnswers(), ilObjBibliographic\getFileDirectory(), ilVerificationObject\getFilePath(), ilRemoteObjectBase\getFullRemoteLink(), ilObjDataCollection\getTables(), ilObjWorkspaceRootFolder\getTranslations(), ilObjTaxonomy\getTree(), ilObjFile\getUsages(), ilObjFile\getVersions(), ilObjPoll\getVotePercentages(), ilObjPoll\getVotesByUsers(), ilObjPortfolio\handleQuotaUpdate(), ilVerificationObject\handleQuotaUpdate(), ilObjBlog\handleQuotaUpdate(), ilObjFile\handleQuotaUpdate(), ilRemoteObjectBase\handleUpdate(), ilObjPoll\hasUserVoted(), ilRemoteObjectBase\importMetadataFromJson(), ilObjBlog\initDefaultRoles(), ilObjFile\initFileStorage(), ilRemoteObjectBase\isLocalObject(), ilObjWorkspaceRootFolder\removeTranslations(), ilObjDataCollection\reorderTables(), ilObjFile\replaceFile(), ilObjFile\rollback(), ilObjPoll\saveAnswer(), ilObjPoll\saveVote(), ilObjCloudGUI\serviceAuth(), ilObjRemoteCourse\updateCustomFromECSContent(), ilRemoteObjectBase\updateFromECSContent(), and ilObjBibliographic\writeSourcefileEntriesToDb().

45 { return parent::getId(); }
+ Here is the caller graph for this function:

◆ getImportId()

ilObject2::getImportId ( )
final

Definition at line 58 of file class.ilObject2.php.

58 { return parent::getImportId(); }

◆ getLastUpdateDate()

ilObject2::getLastUpdateDate ( )
final

Definition at line 66 of file class.ilObject2.php.

66 { return parent::getLastUpdateDate(); }

◆ getLongDescription()

ilObject2::getLongDescription ( )
final

Definition at line 57 of file class.ilObject2.php.

57 { return parent::getLongDescription(); }

◆ getOwner()

ilObject2::getOwner ( )
final

Definition at line 61 of file class.ilObject2.php.

61 { return parent::getOwner(); }

◆ getOwnerName()

ilObject2::getOwnerName ( )
final

Definition at line 62 of file class.ilObject2.php.

62 { return parent::getOwnerName(); }

◆ getPresentationTitle()

ilObject2::getPresentationTitle ( )
final

Definition at line 51 of file class.ilObject2.php.

51 { return parent::getPresentationTitle(); }

◆ getRefId()

ilObject2::getRefId ( )
final

Definition at line 48 of file class.ilObject2.php.

Referenced by ilObjItemGroup\cloneDependencies(), ilObjDataCollection\doCloneObject(), ilObjWorkspaceFolder\downloadFolder(), ilObjBlog\initDefaultRoles(), and ilRemoteObjectBase\sendNewContentNotification().

48 { return parent::getRefId(); }
+ Here is the caller graph for this function:

◆ getTitle()

◆ getType()

◆ getUntranslatedTitle()

ilObject2::getUntranslatedTitle ( )
final

Definition at line 53 of file class.ilObject2.php.

53 { return parent::getUntranslatedTitle(); }

◆ initDefaultRoles()

ilObject2::initDefaultRoles ( )

Definition at line 237 of file class.ilObject2.php.

References array.

237 { return array(); }
Create styles array
The data for the language used.

◆ initType()

ilObject2::initType ( )
abstractprotected

Referenced by __construct(), and ilObjectPlugin\__construct().

+ Here is the caller graph for this function:

◆ isUserRegistered()

ilObject2::isUserRegistered (   $a_user_id = 0)
final

Definition at line 241 of file class.ilObject2.php.

241 { return parent::isUserRegistered($a_user_id); }

◆ MDUpdateListener()

ilObject2::MDUpdateListener (   $a_element)
final

Definition at line 117 of file class.ilObject2.php.

References beforeMDUpdateListener(), and doMDUpdateListener().

118  {
119  if($this->beforeMDUpdateListener($a_element))
120  {
121  if(parent::MDUpdateListener($a_element))
122  {
123  $this->doMDUpdateListener($a_element);
124  return true;
125  }
126  }
127  return false;
128  }
doMDUpdateListener($a_element)
beforeMDUpdateListener($a_element)
+ Here is the call graph for this function:

◆ putInTree()

ilObject2::putInTree (   $a_parent_ref)
final

Definition at line 208 of file class.ilObject2.php.

Referenced by ilRemoteObjectBase\createFromECSEContent().

208 { return parent::putInTree($a_parent_ref); }
+ Here is the caller graph for this function:

◆ read()

ilObject2::read ( )
final

Read data from db.

Definition at line 35 of file class.ilObject2.php.

References doRead().

36  {
37  parent::read();
38  $this->doRead();
39  }
+ Here is the call graph for this function:

◆ requireRegistration()

ilObject2::requireRegistration ( )
final

Definition at line 242 of file class.ilObject2.php.

242 { return parent::requireRegistration(); }

◆ setDescription()

ilObject2::setDescription (   $a_desc)
final

Definition at line 56 of file class.ilObject2.php.

Referenced by ilObjBibliographic\cloneStructure(), and ilRemoteObjectBase\updateFromECSContent().

56 { return parent::setDescription($a_desc); }
+ Here is the caller graph for this function:

◆ setId()

ilObject2::setId (   $a_id)

Definition at line 46 of file class.ilObject2.php.

Referenced by ilObjBibliographic\__construct().

46 { return parent::setId($a_id); }
+ Here is the caller graph for this function:

◆ setImportId()

ilObject2::setImportId (   $a_import_id)
final

Definition at line 59 of file class.ilObject2.php.

59 { return parent::setImportId($a_import_id); }

◆ setOwner()

ilObject2::setOwner (   $a_owner)
final

Definition at line 64 of file class.ilObject2.php.

Referenced by ilRemoteObjectBase\beforeCreate().

64 { return parent::setOwner($a_owner); }
+ Here is the caller graph for this function:

◆ setPermissions()

ilObject2::setPermissions (   $a_parent_ref)
final

Definition at line 209 of file class.ilObject2.php.

Referenced by ilRemoteObjectBase\createFromECSEContent().

209 { return parent::setPermissions($a_parent_ref); }
+ Here is the caller graph for this function:

◆ setRefId()

ilObject2::setRefId (   $a_id)
final

Definition at line 47 of file class.ilObject2.php.

47 { return parent::setRefId($a_id); }

◆ setRegisterMode()

ilObject2::setRegisterMode (   $a_bool)
final

Definition at line 240 of file class.ilObject2.php.

240 { return parent::setRegisterMode($a_bool); }

◆ setTitle()

ilObject2::setTitle (   $a_title)
final

Definition at line 54 of file class.ilObject2.php.

Referenced by ilObjBibliographic\cloneStructure(), ilObjFile\getUploadFile(), ilRemoteObjectBase\updateFromECSContent(), and ilObjFile\updateWithVersion().

54 { return parent::setTitle($a_title); }
+ Here is the caller graph for this function:

◆ setType()

ilObject2::setType (   $a_type)
final

Definition at line 50 of file class.ilObject2.php.

References $a_type.

Referenced by ilObjBibliographic\cloneStructure().

50 { return parent::setType($a_type); }
$a_type
Definition: workflow.php:93
+ Here is the caller graph for this function:

◆ update()

ilObject2::update ( )
final

Definition at line 91 of file class.ilObject2.php.

References beforeUpdate(), and doUpdate().

Referenced by ilObjPortfolioBase\cloneBasics(), ilObjFile\getUploadFile(), ilRemoteObjectBase\updateFromECSContent(), and ilObjFile\updateWithVersion().

92  {
93  if($this->beforeUpdate())
94  {
95  if (!parent::update())
96  {
97  return false;
98  }
99  $this->doUpdate();
100 
101  return true;
102  }
103 
104  return false;
105  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateMetaData()

ilObject2::updateMetaData ( )
final

Definition at line 163 of file class.ilObject2.php.

References beforeUpdateMetaData(), and doUpdateMetaData().

Referenced by ilObjFile\beforeUpdate().

164  {
165  if($this->beforeUpdateMetaData())
166  {
167  if(parent::updateMetaData())
168  {
169  $this->doUpdateMetaData();
170  return true;
171  }
172  }
173  return false;
174  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateOwner()

ilObject2::updateOwner ( )
final

Definition at line 187 of file class.ilObject2.php.

187 { return parent::updateOwner(); }

◆ withReferences()

ilObject2::withReferences ( )
final

Definition at line 30 of file class.ilObject2.php.

30 { return parent::withReferences(); }

The documentation for this class was generated from the following file: