classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php
\PhingPhpDocumentorSetup
Phing subclass of the phpDocumentor_setup class provided with PhpDocumentor to work around limitations in PhpDocumentor API.
This class is necessary because phpDocumentor_setup does not expose a complete API for setting configuration options. Because this class must directly modify some "private" GLOBAL(!) configuration variables, it is liable to break if the PhpDocumentor internal implementation changes. Obviously this is far from ideal, but there's also no solution given the inflexibility of the PhpDocumentor design.
- Extends from
- \phpDocumentor_setup
- author
- Hans Lellelid
@author hans - package
- phing.tasks.ext.phpdoc
- version
- $Id: PhingPhpDocumentorSetup.php 1108 2011-05-23 15:01:31Z mrook $
Methods

__construct(
$configdir
=
null, object $task
)
:
| Name | Type | Description |
|---|---|---|
| $configdir | ||
| $task | object | The task we're working with, so we can pass it on to the ErrorTracker |

setCustomtags(
string $sCustomtags
)
:
This method exists as a hack because the API exposed for this method in PhpDocumentor doesn't work correctly.
Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $sCustomtags | string |

setDefaultCategoryName(
string $name
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $name | string |

setDefaultPackageName(
string $name
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $name | string |

setExamplesDir(
string $dir
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $dir | string |

setGenerateSourcecode(
bool $b
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $b | bool |

setIgnoreTags(
string $tags
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $tags | string |

setPear(
bool $b
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $b | bool |

setQuietMode(
)
:
This method exists as a hack because the API exposed for this method in PhpDocumentor doesn't work correctly.
Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.

setRicFiles(
array $files
)
:
This method exists as a hack because there is no API exposed for this in PhpDocumentor. Note that because we are setting a "private" GLOBAL(!!) config var with this value, this is subject to break if PhpDocumentor internals changes.
| Name | Type | Description |
|---|---|---|
| $files | array | Absolute paths to files. |