|
|
File: c:/www/apache/doc2//renderer/html/PhpdocHTMLRenderer.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocHTMLRenderer
PhpdocObject | +-- PhpdocRendererObject | +-- PhpdocHTMLRenderer
Default HTML Renderer based on templates.
|
private class PhpdocHTMLRenderer extends PhpdocRendererObject
Default HTML Renderer based on templates.
|
|
Direct known subclasses: PhpdocHTMLDocumentRenderer, PhpdocHTMLIndexRenderer, PhpdocHTMLWarningRenderer
|
|
|
|
|
|
Private Field Summary |
object IntegratedTemplates |
$tplTemplate object |
object PhpdocAccessor |
$accessorXML data accessor object. |
string |
$templateRootRootpath for Templatefiles. |
string |
$pathDirectory path prefix. |
|
Private Method Details |
setPath |
private void setPath( string $path )
|
|
Sets a directory path prefix.
|
Parameter |
|
|
Returns |
void |
|
setTemplateRoot |
private void setTemplateRoot( string $templateRoot )
|
|
Sets the template directory.
|
Parameter |
|
|
Returns |
void |
|
encode |
private string encode( string $string )
|
|
Encodes the given string.
This function gets used to encode all userdependendelements of the phpdoc xml files. Use it tocustomize your rendering result: beware newlines (nl2br()),strip tags etc.
|
Parameter |
|
|
Returns |
string $string Encoded string |
|
|
Private Field Details |
$tpl |
private object IntegratedTemplates $tpl
>> <<
Template object
|
|
$accessor |
private object PhpdocAccessor $accessor
>> <<
XML data accessor object.
|
|
$templateRoot |
private string $templateRoot
>>"" <<
Rootpath for Templatefiles.
|
See Also |
setTemplateRoot() |
|
$path |
private string $path
>>"" <<
Directory path prefix.
|
|
|
|
|
PHPDoc 1.0beta |