Class: PDFdefaultConverter
Source Location: /PEAR/PhpDocumentor/phpDocumentor/Converters/PDF/default/PDFdefaultConverter.inc
Class PDFdefaultConverter
Inherited Properties, Constants, and Methods
Property Summary
| array |
$_sourcecode |
Source files for appendix C are stored here |
Method Summary
| void |
Convert_RIC() |
Convert README/INSTALL/CHANGELOG file contents to output format |
| string |
getRootTree() |
return formatted class tree for the Class Trees page |
| void |
returnSee() |
Returns a bookmark using Cezpdf 009 |
| string |
TranslateTag() |
Used to translate an XML DocBook tag from a tutorial by reading the options.ini file for the template. |
Properties
default PDF Converter wants elements sorted by type as well as alphabetically
API Tags:
Redefinition of:
- Converter::$sort_absolutely_everything
- This is used if the content must be passed in the order it should be read, i.e. by package, procedural then classes
Source files for appendix C are stored here
Format: array(array(package => packagename, code => array(highlightedsource code 1, ...)))
Methods
PDFdefaultConverter PDFdefaultConverter(
&$allp,
&$packp,
&$classes,
&$procpages,
$po,
$pp,
$qm,
$targetDir,
$templateDir,
$title
)
|
|
Parameters:
|
|
&$allp: |
|
|
|
&$packp: |
|
|
|
&$classes: |
|
|
|
&$procpages: |
|
|
|
$po: |
|
|
|
$pp: |
|
|
|
$qm: |
|
|
|
$targetDir: |
|
|
|
$templateDir: |
|
|
|
$title: |
|
API Tags:
void convertConst(
&$element
)
|
|
Parameters:
Redefinition of:
- Converter::convertConst()
- Converts class constants for template output.
void convertDocBlock(
&$element
)
|
|
Parameters:
void convertGlobal(
&$element
)
|
|
Parameters:
Redefinition of:
- Converter::convertGlobal()
- Converts global variables for template output
void convertPackagepage(
&$element
)
|
|
Parameters:
API Tags:
void convertParams(
&$element
)
|
|
Parameters:
void convertVar(
&$element
)
|
|
Parameters:
Redefinition of:
- Converter::convertVar()
- Converts class variables for template output.
void Convert_RIC(
README|INSTALL|CHANGELOG
$name, string
$contents
)
|
|
Convert README/INSTALL/CHANGELOG file contents to output format
Parameters:
|
README|INSTALL|CHANGELOG |
$name: |
|
|
string |
$contents: |
contents of the file |
Redefinition of:
- Converter::Convert_RIC()
- Convert README/INSTALL/CHANGELOG file contents to output format
void generateFormattedClassTrees(
string
$package
)
|
|
returns a template-enabled array of class trees
Parameters:
|
string |
$package: |
package to generate a class tree for |
API Tags:
mixed getClassLink(
string
$expr, string
$package, [string
$file = false], [
$text = false]
)
|
|
Parameters:
|
string |
$expr: |
name of class |
|
string |
$package: |
package name |
|
string |
$file: |
full path to look in (used in index generation) |
|
|
$text: |
|
API Tags:
Redefinition of:
- Converter::getClassLink()
- return false or a classLink to $expr
mixed getConstLink(
string
$expr, string
$class, string
$package, [string
$file = false], [boolean
$text = false], boolean
5
)
|
|
Parameters:
|
boolean |
5: |
return just the URL, or enclose it in an html a tag |
|
string |
$expr: |
name of class constant |
|
string |
$class: |
class containing class constant |
|
string |
$package: |
package name |
|
string |
$file: |
full path to look in (used in index generation) |
|
boolean |
$text: |
deprecated |
API Tags:
Redefinition of:
- Converter::getConstLink()
- return false or a constLink to $expr in $class
mixed getDefineLink(
string
$expr, string
$package, [string
$file = false], [boolean
$text = false]
)
|
|
Parameters:
|
string |
$expr: |
name of define |
|
string |
$package: |
package name |
|
string |
$file: |
full path to look in (used in index generation) |
|
boolean |
$text: |
deprecated |
API Tags:
Redefinition of:
- Converter::getDefineLink()
- return false or a defineLink to $expr
void getExampleLink(
$path,
$title
)
|
|
Parameters:
void getFileSourceName(
$path, [
$anchor = '']
)
|
|
Parameters:
Redefinition of:
- Converter::getFileSourceName()
- Translate the path info into a unique file name for the highlighted source code.
mixed getFunctionLink(
string
$expr, string
$package, |
|
|
|