12.22. The OpenCReport\OutputElement class #

class OpenCReport\OutputElement {
    public final get_next():
                     ?OpenCReport\OutputElement;

    public final is_line(): bool;

    public final is_hline(): bool;

    public final is_image(): bool;

    public final is_barcode(): bool;

    public final get_line():
                     ?OpenCReport\Line;

    public final get_hline():
                     ?OpenCReport\HorizontalLine;

    public final get_image():
                     ?OpenCReport\Image;

    public final get_barcode):
                     ?OpenCReport\Barcode;
}

This class iterates through layout elements defined for the output section used in OpenCReport\Output::get_first_element(). An OpenCReport\OutputElement object is an "abstract" object in the sense that it encapsulates several explicit object types. These object types can be determined using the is_*() methods and the actual objects underlying the abstract object can be acquired using the get_*() methods.