Doc

Extends \ezcDocumentRstTextRole Implements \ezcDocumentRstXhtmlTextRole

The :doc: role creates a link to an external document.

For this link you can either use relative locations or an absolute notation. The absolute notation uses the documentation root as starting directory.

package

Default

Methods

Transform text role to docbook.

toDocbook(\DOMDocument $document, \DOMElement $root) : void

Create a docbook XML structure at the text roles position in the document.

Arguments

$document

\DOMDocument

$root

\DOMElement

Transform text role to HTML.

toXhtml(\DOMDocument $document, \DOMElement $root) : void

Create a XHTML structure at the text roles position in the document.

Arguments

$document

\DOMDocument

$root

\DOMElement