debug()
dispatch()
getTransformer()
log()
process()
setTransformer()
collectClassPaths()
processInlineLinkTags()
$event_dispatcher
$transformer
Behaviour that adds generated path information on the File elements.
| category | phpDocumentor |
|---|---|
| package | Transformer |
| subpackage | Behaviour |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
debug(string $message) : void
| inherited_from | \phpDocumentor_Transformer_Abstract::debug() |
|---|---|
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::debug() |
stringThe message to log.
dispatch(string $name, \string[] $arguments) : mixed | null
This method tries to dispatch an event; if no Event Dispatcher has been set than this method will explicitly not fail and return null. By not failing we make the Event Dispatcher optional and is it easier for people to re-use this component in their own application.
| inherited_from | \phpDocumentor_Transformer_Abstract::dispatch() |
|---|---|
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::dispatch() |
stringName of the event to dispatch.
\string[]Arguments for this event.
\phpDocumentor_Parser_Exception |
if there is a dispatcher but it is not of type sfEventDispatcher |
|---|
mixednull
getTransformer() : \phpDocumentor_Transformer
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::getTransformer() |
|---|
log(string $message, int $priority) : void
| inherited_from | \phpDocumentor_Transformer_Abstract::log() |
|---|---|
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::log() |
stringThe message to log.
intThe logging priority, the lower, the more important. Ranges from 1 to 7
process(DOMDocument $xml) : \DOMDocument
This method enhances the Structure information with the following information: - Every @see tag, or a tag with a type receives an attribute with a direct link to that tag's type entry. - Every tag receives an excerpt containing the first 15 characters.
setTransformer(\phpDocumentor_Transformer $transformer) : void
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::setTransformer() |
|---|
collectClassPaths(DOMXPath $xpath) : \string[]
Returns an associative array where the key consists of the FQCN and the value of the path that is mentioned with the 'file' element.
\string[]processInlineLinkTags(DOMXPath $xpath) : void
This method recognizes two types of inline link tags and handles them differently: * With description: [description], this shows the description as body of the anchor. * Without description: [url], this shows the url as body of the anchor.
\DOMXPath
$event_dispatcher : \sfEventDispatcher | null
| inherited_from | \phpDocumentor_Transformer_Abstract::$$event_dispatcher |
|---|---|
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::$$event_dispatcher |
$transformer : \phpDocumentor_Transformer
| inherited_from | \phpDocumentor_Transformer_Behaviour_Abstract::$$transformer |
|---|