$search,$returnonly & $linktype are not for the renderer but are used
elsewhere - no need to implement them in other renderers
public internallink ( string $id, string | null $name = null, string | null $search = null, boolean $returnonly = false, string $linktype = 'content' ) : void | string | ||
$id | string | pageid |
$name | string | null | link name |
$search | string | null | adds search url param |
$returnonly | boolean | whether to return html or write to doc attribute |
$linktype | string | type to set use of headings |
return | void | string | writes to doc attribute or returns html depends on $returnonly |