function _similar_content_type_escape in Similar Entries 5
Same name and namespace in other branches
- 6 similar.module \_similar_content_type_escape()
- 7 similar.module \_similar_content_type_escape()
Some characters just shouldn't be in node type names
1 string reference to '_similar_content_type_escape'
- theme_similar_content in ./
similar.module - Queries the database for similar entries and puts them in a HTML list
File
- ./
similar.module, line 353 - Module that shows a block listing similar entries. NOTE: Uses MySQL's FULLTEXT indexing for MyISAM tables.
Code
function _similar_content_type_escape(&$item) {
$item = str_replace(array(
"\0",
"\n",
"\r",
"\\",
"'",
"\"",
"\32",
), '', $item);
}