You are here

function om_tools_string in OM Tools 7.2

Same name and namespace in other branches
  1. 8.2 inc/om_tools.utils.inc \om_tools_string()
  2. 6.2 inc/om_tools.utils.inc \om_tools_string()

OM Tools String Processor

1 call to om_tools_string()
om_tools_display_array_recursion in inc/om_tools.utils.inc
OM Tools Recurser

File

inc/om_tools.utils.inc, line 186
OM Tools Admin Utilities

Code

function om_tools_string($var = NULL) {
  return !is_numeric($var) ? $var = '\'' . addslashes(stripslashes($var)) . '\'' : $var;
}