PHP Class Todaymade\Daux\ContentTypes\Markdown\LinkRenderer

Inheritance: extends League\CommonMark\Inline\Renderer\LinkRenderer
Datei anzeigen Open project: justinwalsh/daux.io Class Usage Examples

Protected Properties

Property Type Description
$daux Todaymade\Daux\Config

Public Methods

Method Description
__construct ( $daux )
render ( AbstractInline $inline, League\CommonMark\ElementRendererInterface $htmlRenderer ) : League\CommonMark\HtmlElement

Protected Methods

Method Description
isExternalUrl ( $url )
isValidUrl ( $url )
resolveInternalFile ( string $url ) : Entry

Method Details

__construct() public method

public __construct ( $daux )

isExternalUrl() protected method

protected isExternalUrl ( $url )

isValidUrl() protected method

protected isValidUrl ( $url )

render() public method

public render ( AbstractInline $inline, League\CommonMark\ElementRendererInterface $htmlRenderer ) : League\CommonMark\HtmlElement
$inline League\CommonMark\Inline\Element\AbstractInline
$htmlRenderer League\CommonMark\ElementRendererInterface
return League\CommonMark\HtmlElement

resolveInternalFile() protected method

protected resolveInternalFile ( string $url ) : Entry
$url string
return Todaymade\Daux\Tree\Entry

Property Details

$daux protected_oe property

protected Config,Todaymade\Daux $daux
return Todaymade\Daux\Config