
OODoc::Text::Chapter - collects the information of one chapter

OODoc::Text::Chapter is a OODoc::Text::Structure is a OODoc::Text is a OODoc::Object



overload: '""' (stringification)
overload: '==' and '!='
overload: 'cmp' (string comparison)

$obj->emptyExtension(CONTAINER)
OODoc::Text::Chapter->new(OPTIONS)
Option --Defined in --Default container OODoc::Text new(manual) description OODoc::Text '' level OODoc::Text::Structure 1 linenr OODoc::Text <required> manual undef name OODoc::Text undef type OODoc::Text 'Chapter'. container => OBJECT
. description => STRING
. level => INTEGER
. linenr => INTEGER
. manual => OBJECT
The manual in which this chapter is described.
. name => STRING
. type => STRING
$obj->extends([OBJECT])
$obj->container([OBJECT])
$obj->description
$obj->level
$obj->name
$obj->niceName
$obj->type
$obj->findEntry(NAME)
$obj->manual([NAME])
$obj->path
$obj->unique
$obj->where
$obj->all(METHOD, PARAMETERS)
$obj->example(OBJECT)
$obj->examples
$obj->findDescriptionObject
$obj->isEmpty
$obj->openDescription
$obj->addSubroutine(OBJECTS)
$obj->setSubroutines(ARRAY)
$obj->subroutine(NAME)
$obj->subroutines
$obj->filenameToPackage(FILENAME)
OODoc::Text::Chapter->filenameToPackage(FILENAME)
$obj->mkdirhier(DIRECTORY)
OODoc::Text::Chapter->mkdirhier(DIRECTORY)
$obj->addManual(MANUAL)
$obj->mainManual(NAME)
$obj->manuals
$obj->manualsForPackage(NAME)
$obj->packageNames
A chapters consists of a list of sections, which may contain subsections.
$obj->section(NAME|OBJECT)
With a NAME, the section within this chapter with that name is returned. With an OBJECT (which must be a OODoc::Text::Section), a new section is added to the end of the list.
$obj->sections([SECTIONS])
Returns a list of all sections in this chapter.

Error: manual definition requires manual object
A call to addManual() expects a new manual object (a OODoc::Manual), however an incompatible thing was passed. Usually, intended was a call to manualsForPackage() or mainManual().

This module is part of OODoc distribution version 1.05, built on January 26, 2009. Website: http://perl.overmeer.net/oodoc/

Copyrights 2003-2009 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 http://www.perl.com/perl/misc/Artistic.html