PHP Class Pinq\Queries\Builders\Interpretations\RequestParser

Author: Elliot Levin ([email protected])
Inheritance: extends BaseParser, implements Pinq\Queries\Builders\Interpretations\IRequestParser
ファイルを表示 Open project: timetoogo/pinq

Protected Properties

Property Type Description
$request Pinq\Queries\IRequest

Public Methods

Method Description
__construct ( Pinq\Parsing\IFunctionInterpreter $functionInterpreter )
getRequest ( )
interpretAggregate ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function )
interpretAll ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretAny ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretAsArray ( $requestId )
interpretAsCollection ( $requestId )
interpretAsTraversable ( $requestId )
interpretAverage ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretContains ( $requestId, $valueId, $value )
interpretCount ( $requestId )
interpretFirst ( $requestId )
interpretGetIterator ( $requestId )
interpretGetTrueIterator ( $requestId )
interpretImplode ( $requestId, $delimiterId, $delimiter, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretIsEmpty ( $requestId )
interpretLast ( $requestId )
interpretMaximum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretMinimum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretOffsetExists ( $requestId, $indexId, $index )
interpretOffsetGet ( $requestId, $indexId, $index )
interpretSum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )

Protected Methods

Method Description
buildOptionalProjection ( Pinq\Queries\Builders\Functions\IFunction $function = null )

Method Details

__construct() public method

public __construct ( Pinq\Parsing\IFunctionInterpreter $functionInterpreter )
$functionInterpreter Pinq\Parsing\IFunctionInterpreter

buildOptionalProjection() protected method

protected buildOptionalProjection ( Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

getRequest() public method

public getRequest ( )

interpretAggregate() public method

public interpretAggregate ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAll() public method

public interpretAll ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAny() public method

public interpretAny ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAsArray() public method

public interpretAsArray ( $requestId )

interpretAsCollection() public method

public interpretAsCollection ( $requestId )

interpretAsTraversable() public method

public interpretAsTraversable ( $requestId )

interpretAverage() public method

public interpretAverage ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretContains() public method

public interpretContains ( $requestId, $valueId, $value )

interpretCount() public method

public interpretCount ( $requestId )

interpretFirst() public method

public interpretFirst ( $requestId )

interpretGetIterator() public method

public interpretGetIterator ( $requestId )

interpretGetTrueIterator() public method

public interpretGetTrueIterator ( $requestId )

interpretImplode() public method

public interpretImplode ( $requestId, $delimiterId, $delimiter, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretIsEmpty() public method

public interpretIsEmpty ( $requestId )

interpretLast() public method

public interpretLast ( $requestId )

interpretMaximum() public method

public interpretMaximum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretMinimum() public method

public interpretMinimum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretOffsetExists() public method

public interpretOffsetExists ( $requestId, $indexId, $index )

interpretOffsetGet() public method

public interpretOffsetGet ( $requestId, $indexId, $index )

interpretSum() public method

public interpretSum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

Property Details

$request protected_oe property

protected IRequest,Pinq\Queries $request
return Pinq\Queries\IRequest