ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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...
 
 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)
 
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
 
 $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 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 431 of file class.ilObject2.php.

References $a_type.

Referenced by ilObjQuestionPoolGUI\setTitleAndDescription().

432  {
433  return parent::_getIcon($a_obj_id, $a_size, $a_type, $a_offline);
434  }
$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 247 of file class.ilObject2.php.

248  {
249  return parent::_getIdForImportId($a_import_id);
250  }

◆ _getIdsForTitle()

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

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

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

264  {
265  return parent::_getIdsForTitle($title, $type, $partialmatch);
266  }

◆ _getLastUpdateOfObjects()

static ilObject2::_getLastUpdateOfObjects (   $a_objs)
staticfinal

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

276  {
277  return parent::_getLastUpdateOfObjects($a_objs);
278  }

◆ _getObjectsByType()

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

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

389  {
390  return parent::_getObjectsByType($a_obj_type, $a_owner);
391  }

◆ _getObjectsDataForType()

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

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

References $a_type.

324  {
325  return parent::_getObjectsDataForType($a_type, $a_omit_trash);
326  }
$a_type
Definition: workflow.php:92

◆ _hasUntrashedReference()

static ilObject2::_hasUntrashedReference (   $a_obj_id)
staticfinal

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

316  {
317  return parent::_hasUntrashedReference($a_obj_id);
318  }

◆ _isInTrash()

static ilObject2::_isInTrash (   $a_ref_id)
staticfinal

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

312  {
313  return parent::_isInTrash($a_ref_id);
314  }

◆ _lookupDeletedDate()

static ilObject2::_lookupDeletedDate (   $a_ref_id)
staticfinal

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

292  {
293  return parent::_lookupDeletedDate($a_ref_id);
294  }

◆ _lookupDescription()

static ilObject2::_lookupDescription (   $a_id)
staticfinal

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

268  {
269  return parent::_lookupDescription($a_id);
270  }

◆ _lookupLastUpdate()

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

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

272  {
273  return parent::_lookupLastUpdate($a_id, $a_as_string);
274  }

◆ _lookupObjectId()

◆ _lookupObjId()

static ilObject2::_lookupObjId (   $a_id)
staticfinal

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

Referenced by ilDclBaseRecordModel\deleteMob().

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

◆ _lookupObjIdByImportId()

static ilObject2::_lookupObjIdByImportId (   $a_import_id)
staticfinal

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

108  {
109  return parent::_lookupObjIdByImportId($a_import_id);
110  }

◆ _lookupOwner()

static ilObject2::_lookupOwner (   $a_id)
staticfinal

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

Referenced by ilPortfolioPageGUI\makePlaceHoldersClickable().

260  {
261  return parent::_lookupOwner($a_id);
262  }
+ Here is the caller graph for this function:

◆ _lookupOwnerName()

static ilObject2::_lookupOwnerName (   $a_owner_id)
staticfinal

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

120  {
121  return parent::_lookupOwnerName($a_owner_id);
122  }

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

394  {
395  return parent::_prepareCloneSelection($a_ref_ids, $new_type, $a_show_path);
396  }

◆ _resetDeletedDate()

static ilObject2::_resetDeletedDate (   $a_ref_id)
staticfinal

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

288  {
289  return parent::_resetDeletedDate($a_ref_id);
290  }

◆ _setDeletedDate()

static ilObject2::_setDeletedDate (   $a_ref_id)
staticfinal

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

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

◆ _writeDescription()

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

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

300  {
301  return parent::_writeDescription($a_obj_id, $a_desc);
302  }

◆ _writeImportId()

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

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

304  {
305  return parent::_writeImportId($a_obj_id, $a_import_id);
306  }

◆ _writeTitle()

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

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

296  {
297  return parent::_writeTitle($a_obj_id, $a_title);
298  }

◆ appendCopyInfo()

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

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

398  {
399  return parent::appendCopyInfo($a_target_id, $a_copy_id);
400  }

◆ beforeCloneObject()

ilObject2::beforeCloneObject ( )
protected

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

Referenced by cloneObject().

422  {
423  return true;
424  }
+ Here is the caller graph for this function:

◆ beforeCreate()

ilObject2::beforeCreate ( )
protected

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

Referenced by create().

152  {
153  return true;
154  }
+ Here is the caller graph for this function:

◆ beforeCreateMetaData()

ilObject2::beforeCreateMetaData ( )
protected

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

Referenced by createMetaData().

215  {
216  return true;
217  }
+ Here is the caller graph for this function:

◆ beforeDelete()

ilObject2::beforeDelete ( )
protected

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

Referenced by delete().

361  {
362  return true;
363  }
+ Here is the caller graph for this function:

◆ beforeMDUpdateListener()

ilObject2::beforeMDUpdateListener (   $a_element)
protected

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

Referenced by MDUpdateListener().

195  {
196  return true;
197  }
+ Here is the caller graph for this function:

◆ beforeUpdate()

ilObject2::beforeUpdate ( )
protected

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

Referenced by update().

175  {
176  return true;
177  }
+ Here is the caller graph for this function:

◆ beforeUpdateMetaData()

ilObject2::beforeUpdateMetaData ( )
protected

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

Referenced by updateMetaData().

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

◆ cloneDependencies()

ilObject2::cloneDependencies (   $a_target_id,
  $a_copy_id 
)

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

427  {
428  return parent::cloneDependencies($a_target_id, $a_copy_id);
429  }

◆ cloneMetaData()

ilObject2::cloneMetaData (   $target_obj)
final

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

Referenced by ilObjFile\doCloneObject().

402  {
403  return parent::cloneMetaData($target_obj);
404  }
+ 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 406 of file class.ilObject2.php.

References beforeCloneObject(), and doCloneObject().

407  {
408  if ($this->beforeCloneObject()) {
409  $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
410  if ($new_obj) {
411  $this->doCloneObject($new_obj, $a_target_id, $a_copy_id);
412  return $new_obj;
413  }
414  }
415  }
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 339 of file class.ilObject2.php.

340  {
341  return parent::countReferences();
342  }

◆ create()

ilObject2::create (   $a_clone_mode = false)
final

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

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

137  {
138  if ($this->beforeCreate()) {
139  $id = parent::create();
140  if ($id) {
141  $this->doCreate($a_clone_mode);
142  return $id;
143  }
144  }
145  }
+ Here is the call graph for this function:

◆ createMetaData()

ilObject2::createMetaData ( )
final

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

References beforeCreateMetaData(), and doCreateMetaData().

Referenced by ilObjFile\createProperties().

200  {
201  if ($this->beforeCreateMetaData()) {
202  if (parent::createMetaData()) {
203  $this->doCreateMetaData();
204  return true;
205  }
206  }
207  return false;
208  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createReference()

ilObject2::createReference ( )
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

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

◆ delete()

ilObject2::delete ( )
final

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

References beforeDelete(), and doDelete().

Referenced by ilObjTaxonomyGUI\confirmedDelete().

345  {
346  if ($this->beforeDelete()) {
347  if (parent::delete()) {
348  $this->doDelete();
349  $this->id = null;
350  return true;
351  }
352  }
353  return false;
354  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteMetaData()

ilObject2::deleteMetaData ( )
final

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

Referenced by ilObjFile\doDelete().

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

◆ doCloneObject()

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

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

Referenced by cloneObject().

418  {
419  }
+ Here is the caller graph for this function:

◆ doCreate()

ilObject2::doCreate ( )
protected

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

Referenced by create().

148  {
149  }
+ Here is the caller graph for this function:

◆ doCreateMetaData()

ilObject2::doCreateMetaData ( )
protected

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

Referenced by createMetaData().

211  {
212  }
+ Here is the caller graph for this function:

◆ doDelete()

ilObject2::doDelete ( )
protected

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

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

357  {
358  }
+ Here is the caller graph for this function:

◆ doMDUpdateListener()

ilObject2::doMDUpdateListener (   $a_element)
protected

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

Referenced by MDUpdateListener().

191  {
192  }
+ 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 170 of file class.ilObject2.php.

Referenced by update().

171  {
172  }
+ Here is the caller graph for this function:

◆ doUpdateMetaData()

ilObject2::doUpdateMetaData ( )
protected

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

Referenced by updateMetaData().

231  {
232  }
+ Here is the caller graph for this function:

◆ getCreateDate()

ilObject2::getCreateDate ( )
final

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

128  {
129  return parent::getCreateDate();
130  }

◆ getDescription()

ilObject2::getDescription ( )
final

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

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

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

◆ getId()

ilObject2::getId ( )

Definition at line 47 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(), ilObjBibliographic\doCreate(), ilObjTaxonomy\doCreate(), ilObjItemGroup\doCreate(), ilObjPoll\doCreate(), ilRemoteObjectBase\doCreate(), ilObjFile\doCreateMetaData(), ilObjDataCollection\doDelete(), ilObjCloud\doDelete(), ilObjBibliographic\doDelete(), ilObjItemGroup\doDelete(), ilObjTaxonomy\doDelete(), ilObjPoll\doDelete(), ilRemoteObjectBase\doDelete(), ilObjFile\doDelete(), ilObjFile\doMDUpdateListener(), ilObjItemGroup\doRead(), ilObjPoll\doRead(), ilRemoteObjectBase\doRead(), ilObjFile\doRead(), ilObjDataCollection\doUpdate(), ilObjBibliographic\doUpdate(), ilObjItemGroup\doUpdate(), ilObjPoll\doUpdate(), ilRemoteObjectBase\doUpdate(), ilObjFile\doUpdate(), ilObjFile\doUpdateMetaData(), ilObjFile\export(), ilObjPortfolioBase\fixLinksOnTitleChange(), ilObjPoll\getAnswers(), ilObjFile\getArrayForDatabase(), 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().

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

◆ getImportId()

ilObject2::getImportId ( )
final

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

100  {
101  return parent::getImportId();
102  }

◆ getLastUpdateDate()

ilObject2::getLastUpdateDate ( )
final

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

132  {
133  return parent::getLastUpdateDate();
134  }

◆ getLongDescription()

ilObject2::getLongDescription ( )
final

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

96  {
97  return parent::getLongDescription();
98  }

◆ getOwner()

ilObject2::getOwner ( )
final

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

112  {
113  return parent::getOwner();
114  }

◆ getOwnerName()

ilObject2::getOwnerName ( )
final

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

116  {
117  return parent::getOwnerName();
118  }

◆ getPresentationTitle()

ilObject2::getPresentationTitle ( )
final

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

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

◆ getRefId()

ilObject2::getRefId ( )
final

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

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

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

◆ getTitle()

◆ getType()

◆ getUntranslatedTitle()

ilObject2::getUntranslatedTitle ( )
final

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

80  {
81  return parent::getUntranslatedTitle();
82  }

◆ initDefaultRoles()

ilObject2::initDefaultRoles ( )

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

References array.

366  {
367  return array();
368  }
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 378 of file class.ilObject2.php.

379  {
380  return parent::isUserRegistered($a_user_id);
381  }

◆ MDUpdateListener()

ilObject2::MDUpdateListener (   $a_element)
final

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

References beforeMDUpdateListener(), and doMDUpdateListener().

180  {
181  if ($this->beforeMDUpdateListener($a_element)) {
182  if (parent::MDUpdateListener($a_element)) {
183  $this->doMDUpdateListener($a_element);
184  return true;
185  }
186  }
187  return false;
188  }
doMDUpdateListener($a_element)
beforeMDUpdateListener($a_element)
+ Here is the call graph for this function:

◆ putInTree()

ilObject2::putInTree (   $a_parent_ref)
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

328  {
329  return parent::putInTree($a_parent_ref);
330  }
+ 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 382 of file class.ilObject2.php.

383  {
384  return parent::requireRegistration();
385  }

◆ setDescription()

ilObject2::setDescription (   $a_desc)
final

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

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

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

◆ setId()

ilObject2::setId (   $a_id)

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

Referenced by ilObjBibliographic\__construct().

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

◆ setImportId()

ilObject2::setImportId (   $a_import_id)
final

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

104  {
105  return parent::setImportId($a_import_id);
106  }

◆ setOwner()

ilObject2::setOwner (   $a_owner)
final

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

Referenced by ilRemoteObjectBase\beforeCreate().

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

◆ setPermissions()

ilObject2::setPermissions (   $a_parent_ref)
final

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

Referenced by ilRemoteObjectBase\createFromECSEContent().

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

◆ setRefId()

ilObject2::setRefId (   $a_id)
final

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

56  {
57  return parent::setRefId($a_id);
58  }

◆ setRegisterMode()

ilObject2::setRegisterMode (   $a_bool)
final

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

375  {
376  return parent::setRegisterMode($a_bool);
377  }

◆ setTitle()

ilObject2::setTitle (   $a_title)
final

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

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

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

◆ setType()

ilObject2::setType (   $a_type)
final

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

References $a_type.

Referenced by ilObjBibliographic\cloneStructure().

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

◆ update()

ilObject2::update ( )
final

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

References beforeUpdate(), doUpdate(), and League\Flysystem\Adapter\Polyfill\update().

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

157  {
158  if ($this->beforeUpdate()) {
159  if (!parent::update()) {
160  return false;
161  }
162  $this->doUpdate();
163 
164  return true;
165  }
166 
167  return false;
168  }
update($pash, $contents, Config $config)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateMetaData()

ilObject2::updateMetaData ( )
final

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

References beforeUpdateMetaData(), and doUpdateMetaData().

Referenced by ilObjFile\beforeUpdate().

220  {
221  if ($this->beforeUpdateMetaData()) {
222  if (parent::updateMetaData()) {
223  $this->doUpdateMetaData();
224  return true;
225  }
226  }
227  return false;
228  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateOwner()

ilObject2::updateOwner ( )
final

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

244  {
245  return parent::updateOwner();
246  }

◆ 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: