docblox/docblox — Issue #347: Placeholders for external documentation without prefix
Author: hschletz
Created: 2012-01-09 17:31:02+00:00
State: open

I tried to create links to ZF documentation via . Available placeholders are not sufficient because the prefix must be removed from the class name to compose the URI.

Improvement to getExternalClassDocumentLocation():

```php
$result = str_replace(
array('{CLASS}', '{LOWERCASE_CLASS}', '{UNPREFIXED_CLASS}'),
array($class, strtolower($class), substr($class, strlen($prefix))),
$result
);
```

(lowercase variant might be useful too).