Method | Description | |
---|---|---|
__construct ( array $parts = [], string $type = 'AND' ) | Constructor | |
__toString ( ) : string | Retrieve the string representation of this composite expression. | |
add ( mixed $parts ) : |
Adds an expression to composite expression. | |
count ( ) : integer | Retrieves the amount of expressions on composite expression. | |
getType ( ) : string | Return type of this composite |
public __construct ( array $parts = [], string $type = 'AND' ) | ||
$parts | array | parts of the composite expression |
$type | string | AND|OR |
public __toString ( ) : string | ||
return | string |