PHP Class Bravo3\Orm\Mappers\Metadata\Condition

Afficher le fichier Open project: bravo3/orm

Protected Properties

Свойство Type Description
$column string
$comparison string
$method string
$value mixed

Méthodes publiques

Méthode Description
__construct ( string $column, string $method, string $value, string $comparison = '=' )
getColumn ( ) : string Get Column
getComparison ( ) : string Get Comparison
getMethod ( )
getValue ( ) : mixed Get Value
setColumn ( string $column ) Set Column
setComparison ( string $comparison ) Set Comparison
setMethod ( $method )
setValue ( mixed $value ) Set Value
test ( mixed $value ) : boolean Test a value against this condition

Method Details

__construct() public méthode

public __construct ( string $column, string $method, string $value, string $comparison = '=' )
$column string
$method string
$value string
$comparison string

getColumn() public méthode

Get Column
public getColumn ( ) : string
Résultat string

getComparison() public méthode

Get Comparison
public getComparison ( ) : string
Résultat string

getMethod() public méthode

public getMethod ( )

getValue() public méthode

Get Value
public getValue ( ) : mixed
Résultat mixed

setColumn() public méthode

Set Column
public setColumn ( string $column )
$column string

setComparison() public méthode

Set Comparison
public setComparison ( string $comparison )
$comparison string

setMethod() public méthode

public setMethod ( $method )

setValue() public méthode

Set Value
public setValue ( mixed $value )
$value mixed

test() public méthode

Test a value against this condition
public test ( mixed $value ) : boolean
$value mixed
Résultat boolean

Property Details

$column protected_oe property

protected string $column
Résultat string

$comparison protected_oe property

protected string $comparison
Résultat string

$method protected_oe property

protected string $method
Résultat string

$value protected_oe property

protected mixed $value
Résultat mixed