PHP Class Adldap\Query\Bindings\Where

Inheritance: extends AbstractBinding
ファイルを表示 Open project: adldap2/adldap2 Class Usage Examples

Protected Properties

Property Type Description
$field string The field of the where binding.
$operator string The operator of the where binding.
$value string The value of the where binding.

Public Methods

Method Description
__construct ( string $field, string $operator, string $value ) Constructor.
getField ( ) : string Returns the where bindings field.
getOperator ( ) : string Returns the where bindings operator.
getValue ( ) : string Returns the where bindings value.

Protected Methods

Method Description
validateOperator ( string $operator ) : string Retrieves an operator from the available operators.

Method Details

__construct() public method

Constructor.
public __construct ( string $field, string $operator, string $value )
$field string
$operator string
$value string

getField() public method

Returns the where bindings field.
public getField ( ) : string
return string

getOperator() public method

Returns the where bindings operator.
public getOperator ( ) : string
return string

getValue() public method

Returns the where bindings value.
public getValue ( ) : string
return string

validateOperator() protected method

Throws an AdldapException if no operator is found.
protected validateOperator ( string $operator ) : string
$operator string
return string

Property Details

$field protected_oe property

The field of the where binding.
protected string $field
return string

$operator protected_oe property

The operator of the where binding.
protected string $operator
return string

$value protected_oe property

The value of the where binding.
protected string $value
return string