ParseSummary
- Ariadne >
- Library >
- Ariadne 2.4 >
- Manuals >
- Programmers Reference >
- Classes >
- Article >
- PINP Methods >
(string) ParseSummary($template="view.html", $extra="", $text="")
Returns the summary of the article, with a few usefull changes.
| Argument | Description |
|---|---|
| (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 will also change all occurances of http://www.ariadne-cms.org/ariadne/loader.php or
in the summary to the correct current setting.

