Filter/Row/Numberize.php
- package
- Filter
- Classes
- Kwf_Filter_Row_Numberize
Description
\Kwf_Filter_Row_Numberize
- Extends from
- \Kwf_Filter_Row_Abstract
- package
- Filter
- Constants
- POSITION_FIRST
- POSITION_LAST
- Methods
- __construct
- _getSelect
- filter
- getGroupBy
- onDeleteRow
- setDefaultPosition
- setGroupBy
Description
Constants
POSITION_FIRST
POSITION_FIRST = 'first'
Details
- value
- first
POSITION_LAST
POSITION_LAST = 'last'
Details
- value
- last
Methods
__construct
__construct(
)
:
Details
- visibility
- public
- final
- false
- static
- false
_getSelect
_getSelect(
$row
)
:
Arguments
- $row
Details
- visibility
- protected
- final
- false
- static
- false
filter
filter(
$row
)
:
Arguments
- $row
Details
- visibility
- public
- final
- false
- static
- false
getGroupBy
getGroupBy(
)
:
Details
- visibility
- public
- final
- false
- static
- false
onDeleteRow
onDeleteRow(
$row
)
:
Arguments
- $row
Details
- visibility
- public
- final
- false
- static
- false
setDefaultPosition
setDefaultPosition(
$pos
)
:
Set default position used when a row has no number
default is POSITION_LAST
Arguments
- $pos
Details
- visibility
- public
- final
- false
- static
- false
- params
- POSITION_FIRST/POSITION_LAST
setGroupBy
setGroupBy(
$fields
)
:
Nach welchen Spalten die Nummerierung Gruppiert sein soll.
'spalte': nach dieser einen Spalte Gruppieren
array('spalte1', 'spalte2'): nach diesen Spalten Gruppieren
Spezialfall: array('spalte' => array('wert1', 'wert2')): nach dieser Spalte Gruppieren jedoch nach wert1, wert2 oder NOT IN(wert1, wert2)
Arguments
- $fields
Details
- visibility
- public
- final
- false
- static
- false