=head1 NAME OODoc::Text::Section - collects the text of one section within a chapter =head1 INHERITANCE OODoc::Text::Section is a OODoc::Text::Structure is a OODoc::Text is a OODoc::Object =head1 SYNOPSIS my $chapter = $section->chapter; my @subsect = $section->subsections; my $index = $section->subsection('INDEX'); my $index = OODoc::Text::SubSection->new(...); $section->subsection($index); # add subsection =head1 DESCRIPTION =head1 OVERLOADED overload: B<'""' (stringification)> =over 4 See L =back overload: B<'==' and '!='> =over 4 See L =back overload: B<'cmp' (string comparison)> =over 4 See L =back =head1 METHODS =head2 Constructors $obj-EB(CONTAINER) =over 4 See L =back OODoc::Text::Section-EB(OPTIONS) =over 4 Option --Defined in --Default chapter container OODoc::Text new(chapter) description OODoc::Text '' level OODoc::Text::Structure 2 linenr OODoc::Text name OODoc::Text undef type OODoc::Text 'Section' . chapter => OBJECT . container => OBJECT . description => STRING . level => INTEGER . linenr => INTEGER . name => STRING . type => STRING =back =head2 Inheritance knowledge $obj-EB([OBJECT]) =over 4 See L =back =head2 Attributes $obj-EB([OBJECT]) =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back =head2 Location $obj-EB =over 4 Returns the chapter object for this section. =back $obj-EB(NAME) =over 4 See L =back $obj-EB([NAME]) =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back =head2 Collected $obj-EB(METHOD, PARAMETERS) =over 4 See L =back $obj-EB(OBJECT) =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back =head2 Subroutines $obj-EB(OBJECTS) =over 4 See L =back $obj-EB(ARRAY) =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB =over 4 See L =back =head2 Subsections $obj-EB(NAME|OBJECT) =over 4 With a NAME, the subsection within this section with that name is returned. With an OBJECT (which must be a OODoc::Text::SubSection), a new subsection is added to the end of the list. =back $obj-EB([SUBSECTIONS]) =over 4 Returns a list of all subsections in this chapter. =back =head2 Commonly used functions $obj-EB(FILENAME) OODoc::Text::Section-EB(FILENAME) =over 4 See L =back $obj-EB(DIRECTORY) OODoc::Text::Section-EB(DIRECTORY) =over 4 See L =back =head2 Manual Repository $obj-EB(MANUAL) =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB =over 4 See L =back =head1 DIAGNOSTICS Error: manual definition requires manual object =over 4 A call to L expects a new manual object (a L), however an incompatible thing was passed. Usually, intended was a call to L or L. =back =head1 SEE ALSO This module is part of OODoc distribution version 1.03, built on March 14, 2008. Website: F =head1 LICENSE Copyrights 2003-2008 by Mark Overmeer. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See F