Model/Select/Expr/Position.php

Classes 
Classes
Kwf_Model_Select_Expr_Position

\Kwf_Model_Select_Expr_Position

Implements
\Kwf_Model_Select_Expr_Interface
Constants
DIRECTION_ASC
DIRECTION_DESC
Methods
__construct
fromArray
getDirection
getField
getGroupBy
getResultType
toArray
validate

Description

calculate the position of a row in a model ordered by $field and optionally grouped by $groupBy

Constants

DIRECTION_ASC

 DIRECTION_ASC = 'asc'

Details

value
asc

DIRECTION_DESC

 DIRECTION_DESC = 'desc'

Details

value
desc

Methods

__construct

__construct(  $field,  $groupBy = array,  $dir = self ) :

Arguments
$field
$groupBy
$dir
Details
visibility
public
final
false
static
false

fromArray

fromArray(  $data ) :
Arguments
$data
Details
visibility
public
final
false
static
true

getDirection

getDirection( ) :
Details
visibility
public
final
false
static
false

getField

getField( ) :
Details
visibility
public
final
false
static
false

getGroupBy

getGroupBy( ) :
Details
visibility
public
final
false
static
false

getResultType

getResultType( ) :
Details
visibility
public
final
false
static
false

toArray

toArray( ) :
Details
visibility
public
final
false
static
false

validate

validate( ) :
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.