|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class OperationManufacturer. More...
Inheritance diagram for ilAssLacOperationManufacturer:
Collaboration diagram for ilAssLacOperationManufacturer: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... | |
| manufacture ($attribute) | |
| Create a new specific Composite object which is representing the delivered Attribute. More... | |
| getPattern () | |
| 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 | _getInstance () |
| Get an singleton of the manufacturer. 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.
References $instance.
Referenced by ilAssLacConditionParser\cannonicalizeCondition(), ilAssLacCompositeBuilder\create(), and ilAssLacConditionParser\fetchOperators().
Here is the caller graph for this function:| 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 ilAssLacAndOperation\$pattern, ilAssLacEqualsOperation\$pattern, ilAssLacGreaterOperation\$pattern, ilAssLacGreaterOrEqualsOperation\$pattern, ilAssLacLesserOperation\$pattern, ilAssLacLesserOrEqualsOperation\$pattern, ilAssLacNotEqualsOperation\$pattern, and ilAssLacOrOperation\$pattern.
|
staticprotected |
Definition at line 23 of file ilAssLacOperationManufacturer.php.
Referenced by _getInstance().