function constant_contact_escape_listname in Constant Contact 6
Same name and namespace in other branches
- 5 constant_contact.module \constant_contact_escape_listname()
makes the list name key for a mailing-list
Parameters
string $string a "friendly" name of a list:
Return value
string a key name of a list
2 calls to constant_contact_escape_listname()
- constant_contact_block in ./
constant_contact.module - Implementation of hook_block().
- constant_contact_block_form in ./
constant_contact.module - Implementation of hook_form() creates the join mailing list block
File
- ./
constant_contact.module, line 551
Code
function constant_contact_escape_listname($string) {
return substr("constant_contact_blocktext_" . form_clean_id($string), 0, 48);
}