Class: CHMdefaultConverter
Source Location: /PEAR/PhpDocumentor/phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc
Converter
|
--CHMdefaultConverter
Generates files that MS HTML Help Worshop can use to create a MS Windows compiled help file (CHM)
Author(s):
Version:
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
Class Methods
constructor CHMdefaultConverter [line 135]
CHMdefaultConverter CHMdefaultConverter(
&$allp,
&$packp,
&$classes,
&$procpages,
$po,
$pp,
$qm,
$targetDir,
$templateDir,
$title)
|
|
sets $base_dir to $targetDir
Tags:
Parameters:
method addHHP [line 1700]
method addKLink [line 1794]
void addKLink(
string
$name, string
$file, [string
$bookmark = ''], [string
$group = ''])
|
|
Add an item to the index.hhk file
Tags:
Parameters:
method addSourceTOC [line 1761]
void addSourceTOC(
$name,
$file,
$package,
$subpackage, [
$source = false])
|
|
Parameters:
method addTOC [line 1772]
void addTOC(
$name,
$file,
$package,
$subpackage, [
$class = false], [
$tutorial = false])
|
|
Parameters:
method convertClass [line 828]
method convertConst [line 860]
Converts class constants for template output
Tags:
Overrides Converter::convertConst() (Converts class constants for template output.)
Parameters:
method convertDefine [line 909]
Converts defines for template output
Tags:
Overrides Converter::convertDefine() (Converts defines for template output)
Parameters:
method ConvertErrorLog [line 698]
Create errors.html template file output This method takes all parsing errors and warnings and spits them out ordered by file and line number.
Tags:
Overrides Converter::ConvertErrorLog() (Convert the phpDocumentor parsing/conversion error log)
method convertFunction [line 884]
method convertGlobal [line 920]
Converts global variables for template output
Overrides Converter::convertGlobal() (Converts global variables for template output)
Parameters:
method convertInclude [line 897]
Converts include elements for template output
Tags:
Overrides Converter::convertInclude() (Converts includes for template output)
Parameters:
method convertMethod [line 872]
Converts class methods for template output
Tags:
Overrides Converter::convertMethod() (Converts method for template output)
Parameters:
method convertPackagepage [line 773]
Converts package page and sets its package as used in $package_pages
Parameters:
method convertPage [line 932]
converts procedural pages for template output
Tags:
Overrides Converter::convertPage() (Default Page Handler)
Parameters:
method ConvertTodoList [line 644]
method convertTutorial [line 794]
method convertVar [line 848]
Converts class variables for template output
Tags:
Overrides Converter::convertVar() (Converts class variables for template output.)
Parameters:
method Convert_RIC [line 680]
void Convert_RIC(
README|INSTALL|CHANGELOG
$name, string
$contents)
|
|
Convert README/INSTALL/CHANGELOG file contents to output format
Overrides Converter::Convert_RIC() (Convert README/INSTALL/CHANGELOG file contents to output format)
Parameters:
method copyMediaRecursively [line 1360]
void copyMediaRecursively(
$media,
$targetdir, [
$subdir = ''])
|
|
Parameters:
method endClass [line 340]
Writes out the template file of $class_data and unsets the template to save memory
Tags:
Overrides Converter::endClass() (Called by walk() while converting, when the last class element has been parsed.)
method endPage [line 363]
Writes out the template file of $page_data and unsets the template to save memory
Tags:
Overrides Converter::endPage() (Called by walk() while converting, when the last procedural page element has been parsed.)
method formatIndex [line 427]
CHMdefaultConverter uses this function to format template index.html and packages.html This function generates the package list from $all_packages, eliminating any packages that don't have any entries in their package index (no files at all, due to @ignore or other factors). Then it uses the default package name as the first package index to display. It sets the right pane to be either a blank file with instructions on making package-level docs, or the package-level docs for the default package.
Tags:
Overrides Converter::formatIndex() (Called by walk() while converting.)
method formatLeftIndex [line 523]
Generate indexes for li_package.html and classtree output files This function generates the li_package.html files from the template file left.html. It does this by iterating through each of the $page_elements, $class_elements and $function_elements arrays to retrieve the pre-sorted abstractLink descendants needed for index generation. Conversion of these links to text is done by returnSee(). The $local parameter is set to false to ensure that paths are correct. Then it uses generateFormattedClassTrees() to create class trees from the template file classtrees.html. Output filename is classtrees_packagename.html. This function also unsets $elements and $pkg_elements to free up the considerable memory these two class vars use
Tags:
Overrides Converter::formatLeftIndex() (Called by walk() while converting.)
method formatPkgIndex [line 395]
CHMdefaultConverter chooses to format both package indexes and the complete index here This function formats output for the elementindex.html and pkgelementindex.html template files. It then writes them to the target directory
Tags:
Overrides Converter::formatPkgIndex() (Called by walk() while converting.)
method formatTutorialTOC [line 311]
string formatTutorialTOC(
array
$toc)
|
|
Use the template tutorial_toc.tpl to generate a table of contents for HTML
Tags:
Overrides Converter::formatTutorialTOC() (Creates a table of contents for a {@toc} inline tag in a tutorial)
Parameters:
method generateElementIndex [line 1321]
void generateElementIndex(
)
|
|
Generate alphabetical index of all elements
Tags:
method generateFormattedClassTree [line 959]
returns an array containing the class inheritance tree from the root object to the class
Tags:
Overrides Converter::generateFormattedClassTree() (returns an array containing the class inheritance tree from the root object to the class.)
Parameters:
method generateFormattedClassTrees [line 1023]
void generateFormattedClassTrees(
string
$package)
|
|
returns a template-enabled array of class trees
Tags:
Parameters:
method generateFormattedInterfaceTrees [line 1077]
void generateFormattedInterfaceTrees(
string
$package)
|
|
returns a template-enabled array of interface inheritance trees
Tags:
Parameters:
method generateKLinks [line 1815]
Get the table of contents for index.hhk
Tags:
method generatePkgElementIndex [line 1425]
void generatePkgElementIndex(
string
$package)
|
|
Generate alphabetical index of all elements by package and subpackage
Tags:
Parameters:
method generatePkgElementIndexes [line 1476]
void generatePkgElementIndexes(
)
|
|
Tags:
method generateTOC [line 1709]
method getCData [line 759]
method getClassLink [line 1516]
mixed getClassLink(
string
$expr, string
$package, [string
$file = false], [boolean
$text = false], [boolean
$with_a = true])
|
|
Tags:
Overrides Converter::getClassLink() (return false or a classLink to $expr)
Parameters:
method getConstLink [line 1631]
mixed getConstLink(
string
$expr, string
$class, string
$package, [string
$file = false], [boolean
$text = false], boolean
5)
|
|
Tags:
Overrides Converter::getConstLink() (return false or a constLink to $expr in $class)
Parameters:
method getCurrentPageLink [line 289]
method getDefineLink [line 1548]
mixed getDefineLink(
string
$expr, string
$package, [string
$file = false], [boolean
$text = false], boolean
4)
|
|
Tags:
Overrides Converter::getDefineLink() (return false or a defineLink to $expr)
Parameters:
method getExampleLink [line 199]
void getExampleLink(
$path,
$title)
|
|
Parameters:
method getFunctionLink [line 1532]
mixed getFunctionLink(
string
$expr, string
$package, [string
$file = false], [boolean
$text = false], boolean
4)
|
|
Tags:
Overrides Converter::getFunctionLink() (return false or a functionLink to $expr)
Parameters:
method getGlobalLink [line 1564]
mixed getGlobalLink(
string
$expr, string
$package, [string
$file = false], [boolean
$text = false], boolean
4)
|
|
Tags:
Overrides Converter::getGlobalLink() (return false or a globalLink to $expr)
Parameters:
method getId [line 591]
method getIndexInformation [line 1204]
Generate indexing information for given element
Tags:
Parameters:
method getMethodLink [line 1597]
mixed getMethodLink(
string
$expr, string
$class, string
$package, [string
$file = false], [boolean
$text = false], boolean
5)
|
|
Tags:
Overrides Converter::getMethodLink() (return false or a methodLink to $expr in $class)
Parameters:
method getPageLink [line 1580]
mixed getPageLink(
string
$expr, string
$package, [string
$path = false], [boolean
$text = false], boolean
4)
|
|
Tags:
Overrides Converter::getPageLink() (return false or a pageLink to $expr)
Parameters:
method getPageName [line 945]
void getPageName(
&$element)
|
|
Parameters:
method getRootTree [line 1134]
string getRootTree(
array
$tree, string
$package, [
$noparent = false], boolean
$nounknownparent)
|
|
return formatted class tree for the Class Trees page
Tags:
Parameters:
|
|