Footer

This is the Footer class, a macro class for the basket viewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket's footer.

Tags
see
Footer::getRows()

Table of Contents

__construct() Constructor method for Footer class.  : mixed
getRows() This method gets all the basket corresponding footer rows structure information.  : array<string|int, mixed>

Methods

getRows()

This method gets all the basket corresponding footer rows structure information.

public getRows() : array<string|int, mixed>

Each row of the returned array contains these keys of information:

  • self::CLASS_NAME: class name to be applied to the row.
  • self::CELLS: array of the row's cells, where each cell contains these keys of information:
    • value
    • colspan
    • className
Return values
array<string|int, mixed>

Search results