original_string: protected function _getTokenFromSqlWhere($from, $fieldName)
      {
          $lsDb = $this->getSourceDatabase();
          $tokField = $lsDb->quoteIdentifier($fieldName);
  
          foreach (str_split($from) as $check) {
              $checks[] = 'LOCATE(' . $lsDb->quote($check) . ', ' . $tokField . ')';
          }
  
          return '(' . implode(' OR ', $checks) . ')';
      }
code: protected function _getTokenFromSqlWhere($from, $fieldName)
      {
          $lsDb = $this->getSourceDatabase();
          $tokField = $lsDb->quoteIdentifier($fieldName);
  
          foreach (str_split($from) as $check) {
              $checks[] = 'LOCATE(' . $lsDb->quote($check) . ', ' . $tokField . ')';
          }
  
          return '(' . implode(' OR ', $checks) . ')';
      }
code_tokens: protected function _getTokenFromSqlWhere ( $ from , $ fieldName ) { $ lsDb = $ this -> getSourceDatabase ( ) ; $ tokField = $ lsDb -> quoteIdentifier ( $ fieldName ) ; foreach ( str_split ( $ from ) as $ check ) { $ checks [ ] = 'LOCATE(' . $ lsDb -> quote ( $ check ) . ', ' . $ tokField . ')' ; } return '(' . implode ( ' OR ' , $ checks ) . ')' ; }
docstring: Creates a where filter statement for tokens that do not
  have a correct name and are in a tokens table
  
  @param string $from The tokens that should not occur
  @param string $fieldName Name of database field to use
  @return string
docstring_tokens: Creates a where filter statement for tokens that do not have a correct name and are in a tokens table