Unclassified NewsBoard Code Reference

AbbcExpandSelectionSmilie function

Almost the same as AbbcExpandSelection(), but used for smilies that may have
some other characters around them...

function AbbcExpandSelectionSmilie (&$text, &$startpos, &$endpos, $wb, $length = -1);

Parameters:

text
(string)
startpos  –  in/out
(int)
endpos  –  in/out
(int)
wb
(string) set of accepted whitespace characters
length  –  optional, default: -1
(int) [optional]

Return value:

(int) difference between old and new selection length

Implementation file: unb_lib/abbc.lib.php, line 1335

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.