ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
manufacture (string $attribute) | |
Create a new specific Composite object which is representing the delivered Attribute. More... | |
getPattern () | |
This function create a regular expression to match all operators in a condition. More... | |
![]() | |
match (string $subject) | |
Matches a delivered string with a the pattern returned by getPattern implemented in the explicit Manufacturer. More... | |
Static Public Member Functions | |
static | _getInstance () |
Get an Instance of OperationManufacturer. More... | |
Static Protected Attributes | |
static | $instance = null |
Private Member Functions | |
__construct () | |
Private construtor to prevent creating an object of OperationManufacturer. More... | |
__clone () | |
Private clone to prevent cloning an object of OperationManufacturer. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class OperationManufacturer
Date: 25.03.13 Time: 15:12
Definition at line 26 of file ilAssLacOperationManufacturer.php.
|
private |
Private construtor to prevent creating an object of OperationManufacturer.
Definition at line 120 of file ilAssLacOperationManufacturer.php.
|
private |
Private clone to prevent cloning an object of OperationManufacturer.
Definition at line 127 of file ilAssLacOperationManufacturer.php.
|
static |
Get an Instance of OperationManufacturer.
Implements ilAssLacManufacturerInterface.
Definition at line 43 of file ilAssLacOperationManufacturer.php.
Referenced by ilAssLacConditionParser\cannonicalizeCondition(), ilAssLacCompositeBuilder\create(), and ilAssLacConditionParser\fetchOperators().
ilAssLacOperationManufacturer::getPattern | ( | ) |
This function create a regular expression to match all operators in a condition.
The following string is created by this function '/[!&|<>=]+/'
It matches all operators in a condition and is divided into the following parts:
NEGATION: ! AND: & OR: | LESSER: < LESSER OR EQUALS: <= EQUALS = GREATER OR EQUALS >= GREATER > NOT EQUALS <>
Implements ilAssLacManufacturerInterface.
Definition at line 111 of file ilAssLacOperationManufacturer.php.
ilAssLacOperationManufacturer::manufacture | ( | string | $attribute | ) |
Create a new specific Composite object which is representing the delivered Attribute.
string | $attribute |
ilAssLacUnsupportedOperation |
Implements ilAssLacManufacturerInterface.
Definition at line 57 of file ilAssLacOperationManufacturer.php.
References ilAssLacLesserOperation\$pattern, ilAssLacOrOperation\$pattern, ilAssLacAndOperation\$pattern, ilAssLacNotEqualsOperation\$pattern, ilAssLacGreaterOperation\$pattern, ilAssLacGreaterOrEqualsOperation\$pattern, ilAssLacEqualsOperation\$pattern, and ilAssLacLesserOrEqualsOperation\$pattern.
|
staticprotected |
Definition at line 36 of file ilAssLacOperationManufacturer.php.