fix_left_right_ids
class fix_left_right_ids extends command
Properties
protected user | $user | ||
protected driver_interface | $db | ||
protected driver_interface | $cache |
Methods
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
from
command
configure()
{@inheritdoc}
void
execute(InputInterface $input, OutputInterface $output)
Executes the command fixup:fix-left-right-ids.
bool
fix_ids_tree(int $i, string $field, string $table, int $parent_id = 0, array $where = array())
Item's tree structure rebuild helper The item is either forum or ACP/MCP/UCP module
Details
at line 38
__construct(user $user, driver_interface $db, driver_interface $cache)
Constructor
in
command at line 45
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
at line 50
protected
configure()
{@inheritdoc}
at line 69
protected void
execute(InputInterface $input, OutputInterface $output)
Executes the command fixup:fix-left-right-ids.
Repairs the tree structure of the forums and modules. The code is mainly borrowed from Support toolkit for phpBB Olympus
at line 104
protected bool
fix_ids_tree(int $i, string $field, string $table, int $parent_id = 0, array $where = array())
Item's tree structure rebuild helper The item is either forum or ACP/MCP/UCP module