dolibarr 25.0.0-alpha
a

Return a string ready to be output on a href attribute (this one need a special because we need content is HTML with no way to detect it is HTML).

Return a string ready to be output on a href attribute (this one need a special because we need content is HTML with no way to detect it is HTML).With dolPrintHTMLForAttribute(), the content is HTML encode, even if it is already HTML content.

Parameters
string$sString to print
Returns
string String ready for HTML output
See also
dolPrintHTML(), dolPrintHTMLFortextArea() href="<?php echo dolPrintHTMLForAttributeUrl($url); ?>">Link