UNB Components Code Reference

UnbMarkup::ResolveLink method

Resolves a link specification into a URL.

private function UnbMarkup::ResolveLink ($link, $caption);

Parameters

link

(string) Link from markup

caption

(string) Caption from markup, if available

Return value

(array(link, caption, useWordExtra, rawCaption)) if the link was recognised, optionally with a third item that tells whether the link shall be expanded to the entire word it was found in and a fourth item that determines whether the caption shall be used as uninterpreted raw (HTML) output, like for images. false if the link is invalid and shall be left unchanged in the output.

Member of class: UnbMarkup

Implementation file: markup.class.php, line 1453

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.