File/phpDocumentor/DescHTML.inc

Description

All abstract representations of html tags in DocBlocks are handled by the classes in this file

Before version 1.2, phpDocumentor simply passed html to converters, without much thought, except the adv_htmlentities() function was provided along with a list of allowed html. That list is no longer used, in favor of these classes.

The PDF Converter output looked wretched in version 1.1.0 because line breaks in DocBlocks were honored. This meant that output often had just a few words on every other line! To fix this problem, DocBlock descriptions are now parsed using the ParserDescParser, and split into paragraphs. In addition, html in DocBlocks are parsed into these objects to allow for easy conversion in destination converters. This design also allows different conversion for different templates within a converter, which separates design from logic almost 100%

phpDocumentor :: automatic documentation generator

PHP versions 4 and 5

Copyright (c) 2002-2007 Gregory Beaver

LICENSE:

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

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Classes
Class Description
 class parserCode Used for <code> in a description
 class parserPre Used for <pre> in a description
 class parserB Used for <b> in a description
 class parserI Used for <i> in a description
 class parserDescVar Used for <var> in a description
 class parserSamp Used for <samp> in a description
 class parserKbd Used for <kbd> in a description
 class parserBr Used for <br> in a description
 class parserList Used for lists <ol> and <ul>

Documentation generated on Mon, 05 Dec 2011 21:37:14 -0600 by phpDocumentor 1.4.4