12.14. The OpenCReport\Variable class #

12.14.1. Get the base expression of a variable
12.14.2. Get the ignore expression of a variable
12.14.3. Get the first intermediary expression of a variable
12.14.4. Get the second intermediary expression of a variable
12.14.5. Get the result expression of a variable
12.14.6. Get the variable type
12.14.7. Get the variable precalculated flag
12.14.8. Resolve expressions of a variable
12.14.9. Evaluate expressions of a variable
12.14.10. Get the next variable of the same report

class OpenCReport\Variable {
    public final baseexpr():
                     ?OpenCReport\Expr;

    public final ignoreexpr():
                     ?OpenCReport\Expr;

    public final intermedexpr():
                     ?OpenCReport\Expr;

    public final intermed2expr():
                     ?OpenCReport\Expr;

    public final resultexpr():
                     ?OpenCReport\Expr;

    public final get_type(): long;

    public final get_precalculate(): bool;

    public final resolve(): void;
    public final eval(): void;

    public final get_next():
                     ?OpenCReport\Variable;
}

12.14.1. Get the base expression of a variable #

Used by unit tests. For class methods of OpenCReport\Expr, see The OpenCReport\Expr class

public final
OpenCReport\Variable::baseexpr():
                     ?OpenCReport\Expr;

12.14.2. Get the ignore expression of a variable #

Used by unit tests. For class methods of OpenCReport\Expr, see The OpenCReport\Expr class

public final
OpenCReport\Variable::ignoreexpr():
                     ?OpenCReport\Expr;

12.14.3. Get the first intermediary expression of a variable #

Used by unit tests. For class methods of OpenCReport\Expr, see The OpenCReport\Expr class

public final
OpenCReport\Variable::intermedexpr():
                     ?OpenCReport\Expr;

12.14.4. Get the second intermediary expression of a variable #

Used by unit tests. For class methods of OpenCReport\Expr, see The OpenCReport\Expr class

public final
OpenCReport\Variable::intermed2expr():
                     ?OpenCReport\Expr;

12.14.5. Get the result expression of a variable #

Used by unit tests. For class methods of OpenCReport\Expr, see The OpenCReport\Expr class

public final
OpenCReport\Variable::resultexpr():
                     ?OpenCReport\Expr;

12.14.6. Get the variable type #

public final
OpenCReport\Variable::get_type(): long;

12.14.7. Get the variable precalculated flag #

Get the variable's precalculated flag.

public final
OpenCReport\Variable::get_precalculate(): bool;

12.14.8. Resolve expressions of a variable #

Resolve the base, intermediary and result expressions of a single variable. Used by unit tests.

public final
OpenCReport\Variable::resolve(): void;

12.14.9. Evaluate expressions of a variable #

Evaluate the base, intermediary and result expressions of a single variable. Used by unit tests.

public final
OpenCReport\Variable::eval(): void;

12.14.10. Get the next variable of the same report #

Get the next variable object from the chain of variables in the report this variable belongs to. This method may only be called on an object that was marked as an iterator, i.e. one that was created by OpenCReport\Report::variable_get_first().

public final
OpenCReport\Variable::get_next():
                     ?OpenCReport\Variable;