ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\MetaData\Elements\RessourceID\NullRessourceID Class Reference
+ Inheritance diagram for ILIAS\MetaData\Elements\RessourceID\NullRessourceID:
+ Collaboration diagram for ILIAS\MetaData\Elements\RessourceID\NullRessourceID:

Public Member Functions

 type ()
 (Sub-)Type of the object (e.g st,pg,crs ...) NOTE: In the metadata tables, this corresponds to the field obj_type. More...
 
 objID ()
 Object ID (NOT ref_id!) of the parent repository object (e.g for page objects the obj_id of the content object; for media objects this is set to 0, because their object id are not assigned to ref ids) NOTE: In the metadata tables, this corresponds to the field rbac_id. More...
 
 subID ()
 ID of the object carrying the metadata, which might be a subobject of an enclosing repository object (e.g for structure objects the obj_id of the structure object). More...
 

Detailed Description

Definition at line 23 of file NullRessourceID.php.

Member Function Documentation

◆ objID()

ILIAS\MetaData\Elements\RessourceID\NullRessourceID::objID ( )

Object ID (NOT ref_id!) of the parent repository object (e.g for page objects the obj_id of the content object; for media objects this is set to 0, because their object id are not assigned to ref ids) NOTE: In the metadata tables, this corresponds to the field rbac_id.

Implements ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface.

Definition at line 30 of file NullRessourceID.php.

30  : int
31  {
32  return 0;
33  }

◆ subID()

ILIAS\MetaData\Elements\RessourceID\NullRessourceID::subID ( )

ID of the object carrying the metadata, which might be a subobject of an enclosing repository object (e.g for structure objects the obj_id of the structure object).

Might be the same as the objID. NOTE: In the metadata tables, this corresponds to the field obj_id.

Implements ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface.

Definition at line 35 of file NullRessourceID.php.

35  : int
36  {
37  return 0;
38  }

◆ type()

ILIAS\MetaData\Elements\RessourceID\NullRessourceID::type ( )

(Sub-)Type of the object (e.g st,pg,crs ...) NOTE: In the metadata tables, this corresponds to the field obj_type.

Implements ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface.

Definition at line 25 of file NullRessourceID.php.

25  : string
26  {
27  return '';
28  }

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