ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FileObjectProperties Class Reference
+ Inheritance diagram for FileObjectProperties:
+ Collaboration diagram for FileObjectProperties:

Public Member Functions

 getObjectTypeString ()
 This function MUST return the object type string as defined in ObjectDefinitions. More...
 
 getProviders ()
 
 preload (array $object_ids)
 To avoid too many roundtrips to the persistence layer on lists of objects, please implement an efficient query to preload the data we will need. More...
 
- Public Member Functions inherited from ILIAS\Object\Properties\ObjectTypeSpecificProperties\AbstractObjectTypeSpecificProperties
 __construct ()
 
 init (\ilDBInterface $db)
 
 getObjectTypeString ()
 This function MUST return the object type string as defined in ObjectDefinitions. More...
 
 getModifications ()
 
 getProviders ()
 
 preload (array $object_ids)
 To avoid too many roundtrips to the persistence layer on lists of objects, please implement an efficient query to preload the data we will need. More...
 

Protected Attributes

FileObjectPropertyProviders $providers = null
 
- Protected Attributes inherited from ILIAS\Object\Properties\ObjectTypeSpecificProperties\AbstractObjectTypeSpecificProperties
ilDBInterface $db
 

Detailed Description

Definition at line 24 of file FileObjectProperties.php.

Member Function Documentation

◆ getObjectTypeString()

FileObjectProperties::getObjectTypeString ( )

This function MUST return the object type string as defined in ObjectDefinitions.

Implements ILIAS\Object\Properties\ObjectTypeSpecificProperties\ilObjectTypeSpecificProperties.

Definition at line 28 of file FileObjectProperties.php.

References ilObjFile\OBJECT_TYPE.

28  : string
29  {
31  }
const OBJECT_TYPE

◆ getProviders()

FileObjectProperties::getProviders ( )

Implements ILIAS\Object\Properties\ObjectTypeSpecificProperties\ilObjectTypeSpecificProperties.

Definition at line 33 of file FileObjectProperties.php.

References $providers, and null.

34  {
35  if ($this->providers === null) {
36  $this->providers = new FileObjectPropertyProviders();
37  }
38  return $this->providers;
39  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
FileObjectPropertyProviders $providers

◆ preload()

FileObjectProperties::preload ( array  $object_ids)

To avoid too many roundtrips to the persistence layer on lists of objects, please implement an efficient query to preload the data we will need.

Parameters
array<int>$object_ids

Implements ILIAS\Object\Properties\ObjectTypeSpecificProperties\ilObjectTypeSpecificProperties.

Definition at line 41 of file FileObjectProperties.php.

41  : void
42  {
43  return;
44  }

Field Documentation

◆ $providers

FileObjectPropertyProviders FileObjectProperties::$providers = null
protected

Definition at line 26 of file FileObjectProperties.php.

Referenced by getProviders().


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