Property | Type | Description | |
---|---|---|---|
$name | string | Property name. | |
$reorderConditions | array | Property reorderConditions. |
Method | Description | |
---|---|---|
getReorderConditions ( Windwalker\Record\Record $record ) : array | getReorderConditions | |
setOrderPosition ( Windwalker\Record\Record $record, string $position = self::ORDER_POSITION_LAST ) : void | Method to set new item ordering as first or last. |
Method | Description | |
---|---|---|
postGetItem ( Windwalker\Data\Data $item ) : void | postGetItem | |
prepareRecord ( Windwalker\Record\Record $record ) : void | prepareRecord |
public getReorderConditions ( Windwalker\Record\Record $record ) : array | ||
$record | Windwalker\Record\Record | |
return | array | An array of conditions to add to ordering queries. |
protected postGetItem ( Windwalker\Data\Data $item ) : void | ||
$item | Windwalker\Data\Data | |
return | void |
protected prepareRecord ( Windwalker\Record\Record $record ) : void | ||
$record | Windwalker\Record\Record | |
return | void |
public setOrderPosition ( Windwalker\Record\Record $record, string $position = self::ORDER_POSITION_LAST ) : void | ||
$record | Windwalker\Record\Record | Item table to save. |
$position | string | `first` or other are `last`. |
return | void |
protected array $reorderConditions | ||
return | array |