Log in
Model

Parser

Magento\Backend\Model\Widget\Grid\Parser

What it does

This class parses mathematical expressions in admin grid widgets, breaking them into tokens of operands and operators (+, -, *, /).

Developers use it when creating custom backend grids that need to evaluate calculated columns or expressions, allowing grid data to be dynamically computed from multiple fields.

Public Methods

  • parseExpression()
  • isOperation()