PHP Класс Webmozart\Expression\Logic\AndX

A disjunction is a set of {@link Expression} instances connected by logical "and" operators.
С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: implements Webmozart\Expression\Expression
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $conjuncts = [] ) Creates a conjunction of the given expressions.
__toString ( )
andAll ( Webmozart\Expression\Expression $expr )
andAtLeast ( $count, Webmozart\Expression\Expression $expr )
andAtMost ( $count, Webmozart\Expression\Expression $expr )
andContains ( $string )
andCount ( Webmozart\Expression\Expression $expr )
andEmpty ( )
andEndsWith ( $suffix )
andEquals ( $value )
andExactly ( $count, Webmozart\Expression\Expression $expr )
andFalse ( )
andGreaterThan ( $value )
andGreaterThanEqual ( $value )
andIn ( array $values )
andInstanceOf ( $className )
andKey ( $keyName, Webmozart\Expression\Expression $expr )
andKeyExists ( $keyName )
andKeyNotExists ( $keyName )
andLessThan ( $value )
andLessThanEqual ( $value )
andMatches ( $regExp )
andMethod ( $methodName, $args )
andNot ( Webmozart\Expression\Expression $expr )
andNotEmpty ( )
andNotEquals ( $value )
andNotNull ( )
andNotSame ( $value )
andNull ( )
andProperty ( $propertyName, Webmozart\Expression\Expression $expr )
andSame ( $value )
andStartsWith ( $prefix )
andTrue ( )
andX ( Webmozart\Expression\Expression $expr )
equivalentTo ( Webmozart\Expression\Expression $other )
evaluate ( $values )
getConjuncts ( ) : Webmozart\Expression\Expression[] Returns the conjuncts of the conjunction.
toString ( )

Описание методов

__construct() публичный Метод

Creates a conjunction of the given expressions.
public __construct ( array $conjuncts = [] )
$conjuncts array The conjuncts.

__toString() публичный Метод

public __toString ( )

andAll() публичный Метод

public andAll ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andAtLeast() публичный Метод

public andAtLeast ( $count, Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andAtMost() публичный Метод

public andAtMost ( $count, Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andContains() публичный Метод

public andContains ( $string )

andCount() публичный Метод

public andCount ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andEmpty() публичный Метод

public andEmpty ( )

andEndsWith() публичный Метод

public andEndsWith ( $suffix )

andEquals() публичный Метод

public andEquals ( $value )

andExactly() публичный Метод

public andExactly ( $count, Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andFalse() публичный Метод

public andFalse ( )

andGreaterThan() публичный Метод

public andGreaterThan ( $value )

andGreaterThanEqual() публичный Метод

public andGreaterThanEqual ( $value )

andIn() публичный Метод

public andIn ( array $values )
$values array

andInstanceOf() публичный Метод

public andInstanceOf ( $className )

andKey() публичный Метод

public andKey ( $keyName, Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andKeyExists() публичный Метод

public andKeyExists ( $keyName )

andKeyNotExists() публичный Метод

public andKeyNotExists ( $keyName )

andLessThan() публичный Метод

public andLessThan ( $value )

andLessThanEqual() публичный Метод

public andLessThanEqual ( $value )

andMatches() публичный Метод

public andMatches ( $regExp )

andMethod() публичный Метод

public andMethod ( $methodName, $args )

andNot() публичный Метод

public andNot ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andNotEmpty() публичный Метод

public andNotEmpty ( )

andNotEquals() публичный Метод

public andNotEquals ( $value )

andNotNull() публичный Метод

public andNotNull ( )

andNotSame() публичный Метод

public andNotSame ( $value )

andNull() публичный Метод

public andNull ( )

andProperty() публичный Метод

public andProperty ( $propertyName, Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

andSame() публичный Метод

public andSame ( $value )

andStartsWith() публичный Метод

public andStartsWith ( $prefix )

andTrue() публичный Метод

public andTrue ( )

andX() публичный Метод

public andX ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

equivalentTo() публичный Метод

public equivalentTo ( Webmozart\Expression\Expression $other )
$other Webmozart\Expression\Expression

evaluate() публичный Метод

public evaluate ( $values )

getConjuncts() публичный Метод

Returns the conjuncts of the conjunction.
public getConjuncts ( ) : Webmozart\Expression\Expression[]
Результат Webmozart\Expression\Expression[] The conjuncts.

toString() публичный Метод

public toString ( )