ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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...
 
 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...
 
 setOfflineStatus ($a_status)
 Set offline status. More...
 
 getOfflineStatus ()
 Get offline status. More...
 
 supportsOfflineHandling ()
 Check whether object supports offline handling. 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...
 
 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 ()
 
 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, $a_deleted_by)
 
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 lookupOfflineStatus ($a_obj_id)
 Lookup offline status using objectDataCache. 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, $a_deleted_by)
 
static setDeletedDates ($a_ref_ids, $a_user_id)
 Set deleted date. 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 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
 
 $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
 
- Protected Attributes inherited from ilObject
 $objDefinition
 
 $db
 
 $log
 
 $error
 
 $tree
 
 $app_event_handler
 
 $rbacadmin
 
 $rbacreview
 

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 ILIAS\GlobalScreen\Provider\__construct(), and initType().

23  {
24  $this->initType();
25  parent::__construct($a_id, $a_reference);
26  }
__construct(Container $dic, ilPlugin $plugin)
+ 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()

◆ _getIcon()

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

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

References $a_type.

Referenced by ilLSItemsDB\getIconPathForType(), ilLSItemsDB\getLSItems(), and ilObjQuestionPoolGUI\setTitleAndDescription().

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

◆ _getIdForImportId()

static ilObject2::_getIdForImportId (   $a_import_id)
staticfinal

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

240  {
241  return parent::_getIdForImportId($a_import_id);
242  }

◆ _getIdsForTitle()

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

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

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

256  {
257  return parent::_getIdsForTitle($title, $type, $partialmatch);
258  }

◆ _getLastUpdateOfObjects()

static ilObject2::_getLastUpdateOfObjects (   $a_objs)
staticfinal

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

268  {
269  return parent::_getLastUpdateOfObjects($a_objs);
270  }

◆ _getObjectsByType()

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

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

Referenced by ilFileUtils\getExplicitlyBlockedFiles().

381  {
382  return parent::_getObjectsByType($a_obj_type, $a_owner);
383  }
+ Here is the caller graph for this function:

◆ _getObjectsDataForType()

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

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

References $a_type.

316  {
317  return parent::_getObjectsDataForType($a_type, $a_omit_trash);
318  }
$a_type
Definition: workflow.php:92

◆ _hasUntrashedReference()

static ilObject2::_hasUntrashedReference (   $a_obj_id)
staticfinal

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

308  {
309  return parent::_hasUntrashedReference($a_obj_id);
310  }

◆ _isInTrash()

static ilObject2::_isInTrash (   $a_ref_id)
staticfinal

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

304  {
305  return parent::_isInTrash($a_ref_id);
306  }

◆ _lookupDeletedDate()

static ilObject2::_lookupDeletedDate (   $a_ref_id)
staticfinal

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

284  {
285  return parent::_lookupDeletedDate($a_ref_id);
286  }

◆ _lookupDescription()

static ilObject2::_lookupDescription (   $a_id)
staticfinal

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

260  {
261  return parent::_lookupDescription($a_id);
262  }

◆ _lookupLastUpdate()

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

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

264  {
265  return parent::_lookupLastUpdate($a_id, $a_as_string);
266  }

◆ _lookupObjectId()

◆ _lookupObjId()

static ilObject2::_lookupObjId (   $a_id)
staticfinal

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

Referenced by ilDclBaseRecordModel\deleteMob().

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

◆ _lookupObjIdByImportId()

static ilObject2::_lookupObjIdByImportId (   $a_import_id)
staticfinal

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

100  {
101  return parent::_lookupObjIdByImportId($a_import_id);
102  }

◆ _lookupOwner()

static ilObject2::_lookupOwner (   $a_id)
staticfinal

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

Referenced by ilPortfolioPageGUI\makePlaceHoldersClickable(), ilPortfolioRepositoryGUI\setOffline(), ilPortfolioRepositoryGUI\setOnline(), and ilObjPortfolioGUI\setOnlineAndShare().

252  {
253  return parent::_lookupOwner($a_id);
254  }
+ Here is the caller graph for this function:

◆ _lookupOwnerName()

static ilObject2::_lookupOwnerName (   $a_owner_id)
staticfinal

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

112  {
113  return parent::_lookupOwnerName($a_owner_id);
114  }

◆ _lookupTitle()

◆ _lookupType()

◆ _prepareCloneSelection()

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

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

386  {
387  return parent::_prepareCloneSelection($a_ref_ids, $new_type, $a_show_path);
388  }

◆ _resetDeletedDate()

static ilObject2::_resetDeletedDate (   $a_ref_id)
staticfinal

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

280  {
281  return parent::_resetDeletedDate($a_ref_id);
282  }

◆ _setDeletedDate()

static ilObject2::_setDeletedDate (   $a_ref_id,
  $a_deleted_by 
)
staticfinal

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

276  {
277  return parent::_setDeletedDate($a_ref_id, $a_deleted_by);
278  }

◆ _writeDescription()

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

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

292  {
293  return parent::_writeDescription($a_obj_id, $a_desc);
294  }

◆ _writeImportId()

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

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

296  {
297  return parent::_writeImportId($a_obj_id, $a_import_id);
298  }

◆ _writeTitle()

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

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

288  {
289  return parent::_writeTitle($a_obj_id, $a_title);
290  }

◆ appendCopyInfo()

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

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

390  {
391  return parent::appendCopyInfo($a_target_id, $a_copy_id);
392  }

◆ beforeCloneObject()

ilObject2::beforeCloneObject ( )
protected

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

Referenced by cloneObject().

414  {
415  return true;
416  }
+ Here is the caller graph for this function:

◆ beforeCreate()

ilObject2::beforeCreate ( )
protected

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

Referenced by create().

144  {
145  return true;
146  }
+ Here is the caller graph for this function:

◆ beforeCreateMetaData()

ilObject2::beforeCreateMetaData ( )
protected

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

Referenced by createMetaData().

207  {
208  return true;
209  }
+ Here is the caller graph for this function:

◆ beforeDelete()

ilObject2::beforeDelete ( )
protected

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

Referenced by delete().

353  {
354  return true;
355  }
+ Here is the caller graph for this function:

◆ beforeMDUpdateListener()

ilObject2::beforeMDUpdateListener (   $a_element)
protected

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

Referenced by MDUpdateListener().

187  {
188  return true;
189  }
+ Here is the caller graph for this function:

◆ beforeUpdate()

ilObject2::beforeUpdate ( )
protected

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

Referenced by update().

167  {
168  return true;
169  }
+ Here is the caller graph for this function:

◆ beforeUpdateMetaData()

ilObject2::beforeUpdateMetaData ( )
protected

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

Referenced by updateMetaData().

227  {
228  return true;
229  }
+ Here is the caller graph for this function:

◆ cloneDependencies()

ilObject2::cloneDependencies (   $a_target_id,
  $a_copy_id 
)

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

419  {
420  return parent::cloneDependencies($a_target_id, $a_copy_id);
421  }

◆ cloneMetaData()

ilObject2::cloneMetaData (   $target_obj)
final

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

Referenced by ilObjFile\doCloneObject(), and ilObjCmiXapi\doCloneObject().

394  {
395  return parent::cloneMetaData($target_obj);
396  }
+ 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 398 of file class.ilObject2.php.

References beforeCloneObject(), and doCloneObject().

399  {
400  if ($this->beforeCloneObject()) {
401  $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
402  if ($new_obj) {
403  $this->doCloneObject($new_obj, $a_target_id, $a_copy_id);
404  return $new_obj;
405  }
406  }
407  }
doCloneObject($new_obj, $a_target_id, $a_copy_id=null)
+ Here is the call graph for this function:

◆ countReferences()

ilObject2::countReferences ( )
final

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

332  {
333  return parent::countReferences();
334  }

◆ create()

ilObject2::create (   $a_clone_mode = false)
final

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

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

129  {
130  if ($this->beforeCreate()) {
131  $id = parent::create();
132  if ($id) {
133  $this->doCreate($a_clone_mode);
134  return $id;
135  }
136  }
137  }
+ Here is the call graph for this function:

◆ createMetaData()

ilObject2::createMetaData ( )
final

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

References beforeCreateMetaData(), and doCreateMetaData().

Referenced by ilObjFile\createProperties().

192  {
193  if ($this->beforeCreateMetaData()) {
194  if (parent::createMetaData()) {
195  $this->doCreateMetaData();
196  return true;
197  }
198  }
199  return false;
200  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createReference()

ilObject2::createReference ( )
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

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

◆ delete()

ilObject2::delete ( )
final

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

References beforeDelete(), and doDelete().

Referenced by ilObjTaxonomyGUI\confirmedDelete().

337  {
338  if ($this->beforeDelete()) {
339  if (parent::delete()) {
340  $this->doDelete();
341  $this->id = null;
342  return true;
343  }
344  }
345  return false;
346  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteMetaData()

ilObject2::deleteMetaData ( )
final

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

Referenced by ilObjFile\doDelete(), and ilObjCmiXapi\doDelete().

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

◆ doCloneObject()

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

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

Referenced by cloneObject(), and ilObjContentPage\writeStyleSheetId().

410  {
411  }
+ Here is the caller graph for this function:

◆ doCreate()

ilObject2::doCreate ( )
protected

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

Referenced by create().

140  {
141  }
+ Here is the caller graph for this function:

◆ doCreateMetaData()

ilObject2::doCreateMetaData ( )
protected

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

Referenced by createMetaData().

203  {
204  }
+ Here is the caller graph for this function:

◆ doDelete()

ilObject2::doDelete ( )
protected

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

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

349  {
350  }
+ Here is the caller graph for this function:

◆ doMDUpdateListener()

ilObject2::doMDUpdateListener (   $a_element)
protected

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

Referenced by MDUpdateListener().

183  {
184  }
+ Here is the caller graph for this function:

◆ doRead()

ilObject2::doRead ( )
protected

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

Referenced by read().

44  {
45  }
+ Here is the caller graph for this function:

◆ doUpdate()

ilObject2::doUpdate ( )
protected

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

Referenced by update().

163  {
164  }
+ Here is the caller graph for this function:

◆ doUpdateMetaData()

ilObject2::doUpdateMetaData ( )
protected

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

Referenced by updateMetaData().

223  {
224  }
+ Here is the caller graph for this function:

◆ getCreateDate()

ilObject2::getCreateDate ( )
final

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

120  {
121  return parent::getCreateDate();
122  }

◆ getDescription()

ilObject2::getDescription ( )
final

◆ getImportId()

ilObject2::getImportId ( )
final

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

92  {
93  return parent::getImportId();
94  }

◆ getLastUpdateDate()

ilObject2::getLastUpdateDate ( )
final

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

124  {
125  return parent::getLastUpdateDate();
126  }

◆ getLongDescription()

ilObject2::getLongDescription ( )
final

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

88  {
89  return parent::getLongDescription();
90  }

◆ getOwner()

ilObject2::getOwner ( )
final

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

104  {
105  return parent::getOwner();
106  }

◆ getOwnerName()

ilObject2::getOwnerName ( )
final

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

108  {
109  return parent::getOwnerName();
110  }

◆ getPresentationTitle()

ilObject2::getPresentationTitle ( )
final

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

64  {
65  return parent::getPresentationTitle();
66  }

◆ getRefId()

◆ getTitle()

◆ getType()

◆ getUntranslatedTitle()

ilObject2::getUntranslatedTitle ( )
final

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

72  {
73  return parent::getUntranslatedTitle();
74  }

◆ initDefaultRoles()

ilObject2::initDefaultRoles ( )

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

358  {
359  return array();
360  }

◆ 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 370 of file class.ilObject2.php.

371  {
372  return parent::isUserRegistered($a_user_id);
373  }

◆ MDUpdateListener()

ilObject2::MDUpdateListener (   $a_element)
final

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

References beforeMDUpdateListener(), and doMDUpdateListener().

172  {
173  if ($this->beforeMDUpdateListener($a_element)) {
174  if (parent::MDUpdateListener($a_element)) {
175  $this->doMDUpdateListener($a_element);
176  return true;
177  }
178  }
179  return false;
180  }
doMDUpdateListener($a_element)
beforeMDUpdateListener($a_element)
+ Here is the call graph for this function:

◆ putInTree()

ilObject2::putInTree (   $a_parent_ref)
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

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

◆ read()

ilObject2::read ( )
final

Read data from db.

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

References doRead().

39  {
40  parent::read();
41  $this->doRead();
42  }
+ Here is the call graph for this function:

◆ requireRegistration()

ilObject2::requireRegistration ( )
final

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

375  {
376  return parent::requireRegistration();
377  }

◆ setDescription()

ilObject2::setDescription (   $a_desc)
final

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

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

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

◆ setImportId()

ilObject2::setImportId (   $a_import_id)
final

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

96  {
97  return parent::setImportId($a_import_id);
98  }

◆ setOwner()

ilObject2::setOwner (   $a_owner)
final

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

Referenced by ilRemoteObjectBase\beforeCreate().

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

◆ setPermissions()

ilObject2::setPermissions (   $a_parent_ref)
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

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

◆ setRefId()

ilObject2::setRefId (   $a_id)
final

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

48  {
49  return parent::setRefId($a_id);
50  }

◆ setRegisterMode()

ilObject2::setRegisterMode (   $a_bool)
final

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

367  {
368  return parent::setRegisterMode($a_bool);
369  }

◆ setTitle()

ilObject2::setTitle (   $a_title)
final

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

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

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

◆ setType()

ilObject2::setType (   $a_type)
final

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

References $a_type.

Referenced by ilObjBibliographic\cloneStructure().

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

◆ update()

ilObject2::update ( )
final

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

References beforeUpdate(), and doUpdate().

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

149  {
150  if ($this->beforeUpdate()) {
151  if (!parent::update()) {
152  return false;
153  }
154  $this->doUpdate();
155 
156  return true;
157  }
158 
159  return false;
160  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateMetaData()

ilObject2::updateMetaData ( )
final

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

References beforeUpdateMetaData(), and doUpdateMetaData().

Referenced by ilObjFile\beforeUpdate().

212  {
213  if ($this->beforeUpdateMetaData()) {
214  if (parent::updateMetaData()) {
215  $this->doUpdateMetaData();
216  return true;
217  }
218  }
219  return false;
220  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateOwner()

ilObject2::updateOwner ( )
final

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

236  {
237  return parent::updateOwner();
238  }

◆ withReferences()

ilObject2::withReferences ( )
final

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

31  {
32  return parent::withReferences();
33  }

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