ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Data\Password\Group Class Reference
+ Collaboration diagram for ILIAS\Data\Password\Group:

Public Member Functions

 __construct (Factory $data_factory, \ILIAS\Language\Language $lng)
 
 hasMinLength (int $min_length)
 Get the constraint that a password has a minimum length. More...
 
 hasUpperChars ()
 Get the constraint that a password has upper case chars. More...
 
 hasLowerChars ()
 Get the constraint that a password has lower case chars. More...
 
 hasNumbers ()
 Get the constraint that a password has numbers. More...
 
 hasSpecialChars ()
 Get the constraint that a password has special chars. More...
 

Protected Attributes

Factory $data_factory
 
ILIAS Language Language $lng
 

Detailed Description

Definition at line 26 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\Password\Group::__construct ( Factory  $data_factory,
\ILIAS\Language\Language  $lng 
)

Definition at line 31 of file Group.php.

References ILIAS\Data\Password\Group\$data_factory, ILIAS\Data\Password\Group\$lng, and ILIAS\Repository\lng().

32  {
33  $this->data_factory = $data_factory;
34  $this->lng = $lng;
35  }
ILIAS Language Language $lng
Definition: Group.php:29
+ Here is the call graph for this function:

Member Function Documentation

◆ hasLowerChars()

ILIAS\Data\Password\Group::hasLowerChars ( )

Get the constraint that a password has lower case chars.

Definition at line 56 of file Group.php.

References ILIAS\Repository\lng().

56  : Constraint
57  {
58  return new HasLowerChars($this->data_factory, $this->lng);
59  }
+ Here is the call graph for this function:

◆ hasMinLength()

ILIAS\Data\Password\Group::hasMinLength ( int  $min_length)

Get the constraint that a password has a minimum length.

Definition at line 40 of file Group.php.

References ILIAS\Repository\lng().

40  : Constraint
41  {
42  return new HasMinLength($min_length, $this->data_factory, $this->lng);
43  }
+ Here is the call graph for this function:

◆ hasNumbers()

ILIAS\Data\Password\Group::hasNumbers ( )

Get the constraint that a password has numbers.

Definition at line 64 of file Group.php.

References ILIAS\Repository\lng().

64  : Constraint
65  {
66  return new HasNumbers($this->data_factory, $this->lng);
67  }
+ Here is the call graph for this function:

◆ hasSpecialChars()

ILIAS\Data\Password\Group::hasSpecialChars ( )

Get the constraint that a password has special chars.

Definition at line 72 of file Group.php.

References ILIAS\Repository\lng().

72  : Constraint
73  {
74  return new HasSpecialChars($this->data_factory, $this->lng);
75  }
+ Here is the call graph for this function:

◆ hasUpperChars()

ILIAS\Data\Password\Group::hasUpperChars ( )

Get the constraint that a password has upper case chars.

Definition at line 48 of file Group.php.

References ILIAS\Repository\lng().

48  : Constraint
49  {
50  return new HasUpperChars($this->data_factory, $this->lng);
51  }
+ Here is the call graph for this function:

Field Documentation

◆ $data_factory

Factory ILIAS\Data\Password\Group::$data_factory
protected

Definition at line 28 of file Group.php.

Referenced by ILIAS\Data\Password\Group\__construct().

◆ $lng

ILIAS Language Language ILIAS\Data\Password\Group::$lng
protected

Definition at line 29 of file Group.php.

Referenced by ILIAS\Data\Password\Group\__construct().


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