Свойство | Type | Description | |
---|---|---|---|
$api | array | The entire API as a data set. | |
$packages | array | All package groupings as a data set. |
Свойство | 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. |
Méthode | 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. |
Méthode | 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 | ||
Résultat | 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. |
Résultat | void |
public writeClassConfig ( string $class ) : void | ||
$class | string | The class to write Config items for. |
Résultat | void |
public writeClassConstants ( string $class ) : void | ||
$class | string | The class to write Constants for. |
Résultat | void |
public writeClassIndex ( string $class ) : void | ||
$class | string | The class to write index for. |
Résultat | void |
public writeClassMethods ( string $class ) : void | ||
$class | string | The class to write Methods for. |
Résultat | void |
public writeClassOverview ( string $class ) : void | ||
$class | string | The class to write Overview for. |
Résultat | void |
public writeClassProperties ( string $class ) : void | ||
$class | string | The class to write Properties for. |
Résultat | void |
public writeClasses ( ) : void | ||
Résultat | void |
public writeClassesIndex ( ) : void | ||
Résultat | void |
public writePackageClassList ( string $package ) : void | ||
$package | string | The package name. |
Résultat | void |
public writePackageIndex ( ) : void | ||
Résultat | void |
public writePackages ( ) : void | ||
Résultat | void |
protected array $_Solar_Cli_MakeDocs | ||
Résultat | array |
protected string $_class_dir | ||
Résultat | string |
protected array $_classes_list | ||
Résultat | array |
protected string $_docbook_dir | ||
Résultat | string |
protected string $_package_dir | ||
Résultat | string |
protected string $_source | ||
Résultat | string |
public array $packages | ||
Résultat | array |