PHP Class Pinq\Queries\Segments\Ordering

Author: Elliot Levin ([email protected])
Show file Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__construct ( ElementProjection $projectionFunction, $isAscendingId )
getIsAscendingId ( ) : string Gets the ascending flag parameter id.
getParameters ( ) : string[]
getProjectionFunction ( ) : ElementProjection
update ( ElementProjection $projectionFunction ) : Ordering

Method Details

__construct() public method

public __construct ( ElementProjection $projectionFunction, $isAscendingId )
$projectionFunction Pinq\Queries\Functions\ElementProjection

getIsAscendingId() public method

Gets the ascending flag parameter id.
public getIsAscendingId ( ) : string
return string

getParameters() public method

public getParameters ( ) : string[]
return string[]

getProjectionFunction() public method

public getProjectionFunction ( ) : ElementProjection
return Pinq\Queries\Functions\ElementProjection

update() public method

public update ( ElementProjection $projectionFunction ) : Ordering
$projectionFunction Pinq\Queries\Functions\ElementProjection
return Ordering