ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Data Class Reference
+ Inheritance diagram for ILIAS\Data:
+ Collaboration diagram for ILIAS\Data:

Data Structures

class  Alphanumeric
 
class  ClientId
 

Public Types

enum  FiveStarRatingScale : int { EXCELLENT = 5 }
 This is the scale for the Rating Input. More...
 
enum  ImagePurpose { USER_DEFINED }
 This enum provides options to categorise the purpose of an image, which will be used to determine whether an alternate text is necessary or not, and possibly how it should be structured (in the future). More...
 

Public Member Functions

 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 

Detailed Description

Definition at line 23 of file Data.php.

Member Enumeration Documentation

◆ FiveStarRatingScale

enum ILIAS::Data::FiveStarRatingScale : int

This is the scale for the Rating Input.

Enumerator
EXCELLENT 

Definition at line 26 of file FiveStarRatingScale.php.

26  : int
27 {
28  case NONE = 0;
29  case TERRIBLE = 1;
30  case BAD = 2;
31  case AVERAGE = 3;
32  case GOOD = 4;
33  case EXCELLENT = 5;
34 }

◆ ImagePurpose

enum ILIAS::Data::ImagePurpose

This enum provides options to categorise the purpose of an image, which will be used to determine whether an alternate text is necessary or not, and possibly how it should be structured (in the future).

More information about accessible images can be found here:

See also
https://www.w3.org/WAI/tutorials/images/
Enumerator
USER_DEFINED 

The image grahically conveys concepts and/or information to the context it is embedded in.

An alternate text MUST be present. The image visually decorates the current page. It does not convey important information and an alternate text MUST NOT be present. The image purpose is specified by the user and falls into one of the options of this enum. This option exists for cases where ILIAS does not know the image purpose, like e.g. in the page editor. An alternate text MAY be present.

Definition at line 30 of file ImagePurpose.php.

31 {
36  case INFORMATIVE;
37 
42  case DECORATIVE;
43 
49  case USER_DEFINED;
50 }
The image grahically conveys concepts and/or information to the context it is embedded in...

Member Function Documentation

◆ init()

ILIAS\Data::init ( array|\ArrayAccess &  $define,
array|\ArrayAccess &  $implement,
array|\ArrayAccess &  $use,
array|\ArrayAccess &  $contribute,
array|\ArrayAccess &  $seek,
array|\ArrayAccess &  $provide,
array|\ArrayAccess &  $pull,
array|\ArrayAccess &  $internal 
)

Implements ILIAS\Component\Component.

Definition at line 25 of file Data.php.

34  : void {
35  $provide[\ILIAS\Data\Factory::class] = static fn() =>
36  new \ILIAS\Data\Factory();
37  }

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