ReportSection(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… 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

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 (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