ReportSection(3pm)
π ReportSection(3pm) β the Lire::ReportSection era
okay so bestie, this is a 3pm Perl manual page, and it's literally the API doc for Lire::ReportSection β the class that handles one section of a report configuration. she's giving object-oriented glamour, and honestly? she ate. π
πΈ NAME
Lire::ReportSection β the API to report configuration's section π«Ά
β¨ SYNOPSIS
use Lire::ReportConfig;
use Lire::ReportSection;
my $report_cfg = new Lire::ReportConfig( "www" );
my $section = new Lire::ReportSection( "www", "General" );
$report_cfg->add_section( $section );
no cap, that's the whole vibe check right there β
π DESCRIPTION
This class serves up an object-oriented API to report configuration's section, and it's iconic. It's got methods to access and modify the section's attribute β that's the whole job, and she does it beautifully. π
π CONSTRUCTOR
π¦ new( $superservice, [$title] )
Creates a new Lire::Section object which will contain report specifications of the $superservice superservice. The section's title gets set to the value of $title. main character energy, fr fr π
π OBJECT METHODS
πΈ superservice()
Returns this section's superservice. that's it, that's the method, she's effortless β¨
π title([$title])
Returns the current section's title.
When the $title parameter is used, it will set the section's title to a new value. lowkey a getter AND a setter, we love a multitasker π
π¦ filters()
Returns this section's filter specifications as an array of Lire::FilterSpec objects. Those filter specifications will be used by all of this section's report specifications, in addition to the filter specification they may already be using. sharing is caring, periodt π«Ά
β add_filter($filter_spec)
Adds the $filter_spec filter specification to this section's list. The $filter_spec parameter must be an instance of Lire::FilterSpec or one of its descendants.
β οΈ heads up bestie: this method will die if the filter specification's schema isn't compatible with this section's superservice. nothing personal, she's just like that π
π reports()
Returns this section's report specifications as an array of Lire::ReportSpec objects. yes queen, gimme that array π
π add_report( $report_spec )
Adds the $report_spec report specification to this section. This method will die if the report specification's schema isn't compatible with this section's superservice. rigor mortis but make it validation π
π₯ SEE ALSO
Lire::ReportConfig(3pm)Lire::ReportSpec(3pm)Lire::FilterSpec(3pm)Lire::Report::Section(3pm)Lire::Config::ReportSectionSpec(3pm)
the whole friend group, iykyk π
π AUTHOR
Francis J. Lacoste <flacoste@logreport.org> β we stan π
π VERSION
$Id: ReportSection.pm,v 1.25 2006/07/23 13:16:29 vanbaal Exp $
π COPYRIGHT
Copyright (C) 2002, 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.
okay that's the whole page, and she's giving licensed-and-legal-but-make-it-cute π§π and yeah β this was Lire 2.1.1, dated 2025-09-28, which is literally the footer. mwah, bye bestie! ππ
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms