Property | Type | Description | |
---|---|---|---|
$api | array | The entire API as a data set. | |
$packages | array | All package groupings as a data set. |
Property | Type | Description | |
---|---|---|---|
$_Solar_Cli_MakeDocs | array | Default configuration values. | |
$_class_dir | string | Write class API files to this directory. | |
$_classes_list | array | Summary list of all classes. | |
$_docbook_dir | string | Write DocBook files to this directory. | |
$_package_dir | string | Write package files to this directory. | |
$_source | string | The source code directory, typically the 'include' directory. |
Method | Description | |
---|---|---|
writeClassConfig ( string $class ) : void | Writes the Config file. | |
writeClassConstants ( string $class ) : void | Writes the Constants file. | |
writeClassIndex ( string $class ) : void | Writes the index file for a single class. | |
writeClassMethod ( string $class, string $name, array $info ) : void | Writes an individual method file. | |
writeClassMethods ( string $class ) : void | Writes the Methods file. | |
writeClassOverview ( string $class ) : void | Writes the Overview file. | |
writeClassProperties ( string $class ) : void | Writes the Properties file. | |
writeClasses ( ) : void | Writes the "class" directory. | |
writeClassesIndex ( ) : void | Writes the index file for the list of classes. | |
writePackageClassList ( string $package ) : void | Writes one package description file. | |
writePackageIndex ( ) : void | Writes the package index file. | |
writePackages ( ) : void | Writes the entire "packages" directory. |
Method | Description | |
---|---|---|
_exec ( string $class = null ) : void | Main action: parse the classes and write documentation. | |
_getFile ( string $type, string $file ) : string | Builds a target filename path in the 'class' or 'package' directory. | |
_postConstruct ( ) : void | Post-construction tasks to complete object construction. | |
_title1 ( string $text ) : string | Returns level-1 title markup. | |
_title2 ( string $text ) : string | Returns level-2 title markup. | |
_title3 ( string $text ) : string | Returns level-3 title markup. | |
_touch ( string $type, string $file ) : void | Touches a file to create it or update its timestamp. | |
_write ( string $type, string $file, mixed $text ) : void | Writes a file to the target directory. |
protected _postConstruct ( ) : void | ||
return | void |
protected _write ( string $type, string $file, mixed $text ) : void | ||
$type | string | The type of file to write: 'class' or 'package'. |
$file | string | A relative file name, e.g. "class/Class_Name/Overview". |
$text | mixed | A text string or array to write to the file; if an array, is imploded with newlines and trimmed before writing. |
return | void |
public writeClassConfig ( string $class ) : void | ||
$class | string | The class to write Config items for. |
return | void |
public writeClassConstants ( string $class ) : void | ||
$class | string | The class to write Constants for. |
return | void |
public writeClassIndex ( string $class ) : void | ||
$class | string | The class to write index for. |
return | void |
public writeClassMethods ( string $class ) : void | ||
$class | string | The class to write Methods for. |
return | void |
public writeClassOverview ( string $class ) : void | ||
$class | string | The class to write Overview for. |
return | void |
public writeClassProperties ( string $class ) : void | ||
$class | string | The class to write Properties for. |
return | void |
public writeClasses ( ) : void | ||
return | void |
public writeClassesIndex ( ) : void | ||
return | void |
public writePackageClassList ( string $package ) : void | ||
$package | string | The package name. |
return | void |
public writePackageIndex ( ) : void | ||
return | void |
public writePackages ( ) : void | ||
return | void |
protected array $_Solar_Cli_MakeDocs | ||
return | array |
protected string $_class_dir | ||
return | string |
protected array $_classes_list | ||
return | array |
protected string $_docbook_dir | ||
return | string |
protected string $_package_dir | ||
return | string |
protected string $_source | ||
return | string |