UpdateContentsSortOrderCommand
in package
implements
CommandInterface
Updates the sort order of contents
Interfaces, Classes and Traits
- CommandInterface
- Interface CommandInterface
Table of Contents
- $contentGroupSortOrder : array<string|int, mixed>
- $rollback : array<string|int, mixed>
- add() : void
- execute() : void
- Execute the command
- rollback() : void
- Execute the command
- setOption() : void
Properties
$contentGroupSortOrder
private
array<string|int, mixed>
$contentGroupSortOrder
= []
$rollback
private
array<string|int, mixed>
$rollback
= []
Methods
add()
public
add(int $contentGroupId, int $sortOrder) : void
Parameters
- $contentGroupId : int
- $sortOrder : int
Return values
void —execute()
Execute the command
public
execute() : void
Return values
void —rollback()
Execute the command
public
rollback() : void
Return values
void —setOption()
public
setOption(OptionInterface $option) : void
Parameters
- $option : OptionInterface