function _glossary_is_boundary in Glossary 5.2
Same name and namespace in other branches
- 5 glossary.module \_glossary_is_boundary()
- 6 glossary.module \_glossary_is_boundary()
- 7 glossary.module \_glossary_is_boundary()
1 call to _glossary_is_boundary()
- _glossary_insertlink in ./
glossary.module - Insert glossary links to $text after every matching $terms[i]['synonyms'] that is not inside a blocking tag. $terms[i]['ins_before'] is prepended to the matches, $terms[i]['ins_after'] is appended to them. Match type and…
File
- ./
glossary.module, line 1220 - Glossary terms will be automatically marked with links to their descriptions.
Code
function _glossary_is_boundary($char) {
if (extension_loaded('mbstring')) {
return mb_strpos("", $char) !== FALSE;
}
else {
return strpos("", $char) !== FALSE;
}
}