Example #1
0
 /**
  * Strips non-SQL charactes from the strings contained in the the array leaving intact
  * regular characters a-z and integers.
  *
  * @param   array $strings
  * @return  array
  */
 protected static function stripNonSQLCharactersArray(array $strings, $nonFilter = null)
 {
     return array_map(function ($string) use($nonFilter) {
         return Query::stripNonSQLCharacters($string, $nonFilter);
     }, $strings);
 }