ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class OperationManufacturer. More...
Public Member Functions | |
manufacture ($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... | |
Public Member Functions inherited from ilAssLacAbstractManufacturer | |
match ($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... | |
Class OperationManufacturer.
Date: 25.03.13 Time: 15:12
Definition at line 12 of file ilAssLacOperationManufacturer.php.
|
private |
Private construtor to prevent creating an object of OperationManufacturer.
Definition at line 108 of file ilAssLacOperationManufacturer.php.
|
private |
Private clone to prevent cloning an object of OperationManufacturer.
Definition at line 124 of file ilAssLacOperationManufacturer.php.
|
static |
Get an Instance of OperationManufacturer.
Implements ilAssLacManufacturerInterface.
Definition at line 29 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 99 of file ilAssLacOperationManufacturer.php.
ilAssLacOperationManufacturer::manufacture | ( | $attribute | ) |
Create a new specific Composite object which is representing the delivered Attribute.
string | $attribute |
ilAssLacUnsupportedOperation |
Implements ilAssLacManufacturerInterface.
Definition at line 44 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 22 of file ilAssLacOperationManufacturer.php.