Свойство | Type | Description | |
---|---|---|---|
$name | string | Property name. | |
$reorderConditions | array | Property reorderConditions. |
Méthode | 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. |
Méthode | 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 | |
Résultat | array | An array of conditions to add to ordering queries. |
protected postGetItem ( Windwalker\Data\Data $item ) : void | ||
$item | Windwalker\Data\Data | |
Résultat | void |
protected prepareRecord ( Windwalker\Record\Record $record ) : void | ||
$record | Windwalker\Record\Record | |
Résultat | 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`. |
Résultat | void |
protected array $reorderConditions | ||
Résultat | array |