ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group Class Reference
+ Collaboration diagram for ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group:

Public Member Functions

 __construct (Factory $dataFactory, \ILIAS\Language\Language $language)
 
 constraint (callable $callable, $error)
 
 transformation (callable $transform)
 

Private Attributes

Factory $dataFactory
 
ILIAS Language Language $language
 

Detailed Description

Definition at line 27 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group::__construct ( Factory  $dataFactory,
\ILIAS\Language\Language  $language 
)

Member Function Documentation

◆ constraint()

ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group::constraint ( callable  $callable,
  $error 
)
Parameters
callable$callable
string | callable$error
Returns
ConstraintInterface

Definition at line 43 of file Group.php.

References ILIAS\$error, and ILIAS\UI\examples\Symbol\Glyph\Language\language().

44  {
45  return new Constraint(
46  $callable,
47  $error,
48  $this->dataFactory,
49  $this->language
50  );
51  }
ilErrorHandling $error
Definition: class.ilias.php:69
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
+ Here is the call graph for this function:

◆ transformation()

ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group::transformation ( callable  $transform)

Definition at line 53 of file Group.php.

54  {
55  return new Transformation($transform);
56  }

Field Documentation

◆ $dataFactory

Factory ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group::$dataFactory
private

◆ $language

ILIAS Language Language ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Group::$language
private

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