ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 109 of file ilAssLacOperationManufacturer.php.
|
private |
Private clone to prevent cloning an object of OperationManufacturer.
Definition at line 125 of file ilAssLacOperationManufacturer.php.
|
static |
Get an Instance of OperationManufacturer.
Implements ilAssLacManufacturerInterface.
Definition at line 30 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 100 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 46 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 23 of file ilAssLacOperationManufacturer.php.