Documentation

Formatter

Formatter class generates descriptions as shopping cart discounts (I.e. shopping cart rules), as well as their results.

Class methods

MethodDescription Available from version
clearErrorsResets errors.
formatListGenerates description for format action list.
formatRowGenerates description for a single action to be displayed.
getErrorsMethod returns list of errors occurred when generating description.
prepareRowChecks if description matches the format (availability of all fields, necessary for description, deleting redundant fields).


© «Bitrix24», 2001-2024
Up