Skip to content

PositionInterface

  • Full name: \Zemit\Mvc\Model\Interfaces\PositionInterface

Methods

initializePosition

public initializePosition(?array $options = null): void

Parameters:

Parameter Type Description
$options ?array

setPositionBehavior

public setPositionBehavior(\Zemit\Mvc\Model\Behavior\Position $positionBehavior): void

Parameters:

Parameter Type Description
$positionBehavior \Zemit\Mvc\Model\Behavior\Position

getPositionBehavior

public getPositionBehavior(): \Zemit\Mvc\Model\Behavior\Position

reorder

public reorder(?int $position = null, ?string $positionField = null): bool

Parameters:

Parameter Type Description
$position ?int
$positionField ?string