GroupField(3pm)

πŸ“¦ version 2.1.1, in arch rolling

✨ GroupField β€” Lire::GroupField ✨

okay bestie, welcome to the LogReport's Lire Documentation era πŸŽ€ this little page is literally all about Lire::GroupField, and ngl it's a vibe.

πŸ’– NAME πŸ’–

Lire::GroupField β€” the class that implements the field element in report specifications. that's it, that's the whole personality ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

use Lire::GroupField;

one line, iconic, no notes πŸ’…

🌸 DESCRIPTION 🌸

so basically this module is what you use to represent the field elements β€” the ones that show up inside the group aggregator element in report specifications. like, that's its whole job and it ate πŸ”₯

πŸ‘‘ CONSTRUCTOR πŸ‘‘

πŸ’œ new( %params )

creates a brand-new Lire::GroupField object for you 🫢 it takes several parameters, and they're similar to Lire::ReportOperator (iykyk).

  • name β€” the DLF field's name that this GroupField represents. important caveat bestie: this shouldn't be a quantity or time field β€” other aggregators should be used for those, fr fr πŸ™ˆ
  • report_spec β€” the report specification in which this the group field is added.
  • label β€” the column's label that should be used for this field.

🌈 name()

returns the DLF field name which we represent. simple, clean, slay ✨

πŸ“ label( [$new_label] )

returns the label that should be used for the column we generate in the report. the default? it uses the DLF field's label πŸ’–

and you can totally change it β€” just pass a $new_label parameter and boom, new label 🌸

⭐ field()

returns the DLF field which we represents as a Lire::Field object. it's giving object-oriented excellence πŸ‘‘

🧚 SEE ALSO 🧚

  • Lire::Group(3pm) β€” go read it, bestie, it's the whole friend group πŸ’œ

🌟 AUTHORS 🌟

  • Francis J. Lacoste <flacoste@logreport.org>
  • Wolfgang Sourdeau <wolfgang@logreport.org>

πŸ’« VERSION πŸ’«

$Id: GroupField.pm,v 1.19 2006/07/23 13:16:29 vanbaal Exp $

Copyright (C) 2001-2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.


ok that's the whole page, no cap πŸ’… go forth and group those fields, bestie πŸ¦‹

and that's a wrap on the Lire 2.1.1 version of this page, dated 2025-09-28 β€” periodt, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from