protected function _add_simple_condition($type, $column_name, $separator, $value)
{
$multiple = is_array($column_name) ? $column_name : array($column_name => $value);
$result = $this;
foreach ($multiple as $key => $val) {
// Add the table name in case of ambiguous columns
if (count($result->_join_sources) > 0 && strpos($key, '.') === false) {
$table = $result->_table_name;
if (!is_null($result->_table_alias)) {
$table = $result->_table_alias;
}
$key = "{$table}.{$key}";
}
$key = $result->_quote_identifier($key);
$result = $result->_add_condition($type, "{$key} {$separator} ?", $val);
}
return $result;
}