PHP Class Bravo3\Orm\Mappers\Metadata\Sortable

ファイルを表示 Open project: bravo3/orm

Protected Properties

Property Type Description
$column string
$conditions Condition[]
$name string

Public Methods

Method Description
__construct ( string $column, array $conditions = [], string $name = null )
addCondition ( Condition $condition ) Add a condition
getColumn ( ) : string Get Column
getConditions ( ) : Condition[] Get Conditions
getName ( ) : string Get Name
setColumn ( string $column ) Set Column
setConditions ( array $conditions ) Set Conditions
setName ( string $name ) Set Name

Method Details

__construct() public method

public __construct ( string $column, array $conditions = [], string $name = null )
$column string
$conditions array
$name string

addCondition() public method

Add a condition
public addCondition ( Condition $condition )
$condition Condition

getColumn() public method

Get Column
public getColumn ( ) : string
return string

getConditions() public method

Get Conditions
public getConditions ( ) : Condition[]
return Condition[]

getName() public method

Get Name
public getName ( ) : string
return string

setColumn() public method

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

setConditions() public method

Set Conditions
public setConditions ( array $conditions )
$conditions array

setName() public method

Set Name
public setName ( string $name )
$name string

Property Details

$column protected_oe property

protected string $column
return string

$conditions protected_oe property

protected Condition[],Bravo3\Orm\Mappers\Metadata $conditions
return Condition[]

$name protected_oe property

protected string $name
return string