(string) ParseSummary($template="view.html", $extra="", $text="")
Arguments
(string) | $template | Template to link to. |
(string) | $extra | Extra arguments to the link, such as target='_blank'. |
(string) | $text | Alternative text to use instead of 'More...'. |
ParseSummary()
returns the summary of the article, but replaces every occurance of the string <a>
with a hyperlink to the current object. If no '<a>
' string is found, it adds a link at the end, with either the text 'More...' or the text as set in the $text
argument.
In addition it also calls ParsePage()
on the summary.