public static function text_urls (
string $string,
string $ytarget =
"_blank",
string $ypict =
"",
int $y_lentrim =
100
) {}
:: STRING
@return: {STRING} The HTML processed text with URLs replaced with real tags
@param: {STRING} $string: The text string to be processed
@param: {STRING} $ytarget: URL target ; default is '_blank' ; can be: '_self' or a specific window name: 'myWindow' ...
@param: {STRING} $ypict: The image path to display as link ; default is blank: ''
@param: {INTEGER} $y_lentrim: The length of the URL to be displayed into [DetectedURL] (used only if no image has been provided)
public static function text_emails (
string $string,
string $yaction =
"mailto:",
string $ytarget =
"",
int $y_lentrim =
100
) {}
:: STRING
@return: {STRING} The HTML processed text with EMAIL addresses replaced with real tags as links
@param: {STRING} $string: The text string to be processed
@param: {STRING} $yaction: Action to append the email link to ; Default is: 'mailto:' but can be for example: 'script.php?action=email&addr='
@param: {STRING} $ytarget: URL target ; default is '_blank' ; can be: '_self' or a specific window name: 'myWindow' ...
@param: {INTEGER} $y_lentrim: The length of the URL to be displayed into [DetectedURL] (used only if no image has been provided)
public static function text_faxnums (
string $string,
string $yaction =
"efax:",
string $ytarget =
"_blank",
int $y_lentrim =
100
) {}
:: STRING
@return: {STRING} The HTML processed text with FAX numbers replaced with real tags as links
@param: {STRING} $string: The text string to be processed
@param: {STRING} $yaction: Action to append the fax-num link to ; Default is: 'efax:' but can be for example: 'script.php?action=fax&number='
@param: {STRING} $ytarget: URL target ; default is '_blank' ; can be: '_self' or a specific window name: 'myWindow' ...
@param: {INTEGER} $y_lentrim: The length of the URL to be displayed into [DetectedURL] (used only if no image has been provided)