ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Refinery\Integer\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Integer\Group:

Public Member Functions

 __construct (Factory $dataFactory, ilLanguage $language)
 
 isGreaterThan (int $minimum)
 Creates a constraint that can be used to check if an integer value is greater than the defined lower limit. More...
 
 isLessThan (int $maximum)
 Creates a constraint that can be used to check if an integer value is less than the defined upper limit. More...
 
 isGreaterThanOrEqual (int $minimum)
 Creates a constraint that can be used to check if an integer value is greater than or equal the defined lower limit. More...
 
 isLessThanOrEqual (int $maximum)
 Creates a constraint that can be used to check if an integer value is less than or equal the defined upper limit. More...
 

Private Attributes

Factory $dataFactory
 
ilLanguage $language
 

Detailed Description

Definition at line 27 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Refinery\Integer\Group::__construct ( Factory  $dataFactory,
ilLanguage  $language 
)

Definition at line 32 of file Group.php.

References ILIAS\Refinery\Integer\Group\$dataFactory, ILIAS\Refinery\Integer\Group\$language, and ILIAS\UI\examples\Symbol\Glyph\Language\language().

33  {
34  $this->dataFactory = $dataFactory;
35  $this->language = $language;
36  }
+ Here is the call graph for this function:

Member Function Documentation

◆ isGreaterThan()

ILIAS\Refinery\Integer\Group::isGreaterThan ( int  $minimum)

Creates a constraint that can be used to check if an integer value is greater than the defined lower limit.

Definition at line 42 of file Group.php.

References ILIAS\UI\examples\Symbol\Glyph\Language\language().

42  : Constraint
43  {
44  return new GreaterThan($minimum, $this->dataFactory, $this->language);
45  }
+ Here is the call graph for this function:

◆ isGreaterThanOrEqual()

ILIAS\Refinery\Integer\Group::isGreaterThanOrEqual ( int  $minimum)

Creates a constraint that can be used to check if an integer value is greater than or equal the defined lower limit.

Definition at line 60 of file Group.php.

References ILIAS\UI\examples\Symbol\Glyph\Language\language().

60  : Constraint
61  {
62  return new GreaterThanOrEqual($minimum, $this->dataFactory, $this->language);
63  }
+ Here is the call graph for this function:

◆ isLessThan()

ILIAS\Refinery\Integer\Group::isLessThan ( int  $maximum)

Creates a constraint that can be used to check if an integer value is less than the defined upper limit.

Definition at line 51 of file Group.php.

References ILIAS\UI\examples\Symbol\Glyph\Language\language().

51  : Constraint
52  {
53  return new LessThan($maximum, $this->dataFactory, $this->language);
54  }
+ Here is the call graph for this function:

◆ isLessThanOrEqual()

ILIAS\Refinery\Integer\Group::isLessThanOrEqual ( int  $maximum)

Creates a constraint that can be used to check if an integer value is less than or equal the defined upper limit.

Definition at line 69 of file Group.php.

References ILIAS\UI\examples\Symbol\Glyph\Language\language().

69  : Constraint
70  {
71  return new LessThanOrEqual($maximum, $this->dataFactory, $this->language);
72  }
+ Here is the call graph for this function:

Field Documentation

◆ $dataFactory

Factory ILIAS\Refinery\Integer\Group::$dataFactory
private

Definition at line 29 of file Group.php.

Referenced by ILIAS\Refinery\Integer\Group\__construct().

◆ $language

ilLanguage ILIAS\Refinery\Integer\Group::$language
private

Definition at line 30 of file Group.php.

Referenced by ILIAS\Refinery\Integer\Group\__construct().


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