Documentation MyBrickStore

ReviewImagesController extends Controller
in package

Class ReviewImagesController

  • Manages the preview generation of lego mosaics
  • Acts as the bridge between raw image uploads and the java processing engine

Table of Contents

Properties

$trans  : array<string|int, mixed>
$translations  : array<string|int, mixed>

Methods

__construct()  : mixed
Constructor.
index()  : void
Generates and displays mosaic previews with price calculations
render()  : void
Renders a view file within a layout template.
save()  : void
Saves the selected mosaic configuration and redirects to payment

Properties

$trans

protected array<string|int, mixed> $trans = []

Holds translation strings for the current language.

Methods

__construct()

Constructor.

public __construct() : mixed

Initializes translation services based on user preference

render()

Renders a view file within a layout template.

public render(string $file[, array<string|int, mixed> $data = [] ][, string $template = 'default' ]) : void
Parameters
$file : string

The name of the view file (without .php extension).

$data : array<string|int, mixed> = []

Associative array of data to pass to the view.

$template : string = 'default'

The layout template to use (default: 'default').


        
On this page

Search results