protected function replace($condition, $setTable=true) {
		$condition = preg_replace_callback('/(?<![\.a-zA-Z0-9_'.$this->quote.'\(\)])[a-z_][a-zA-Z0-9._]*(?![^\(]*\))/', function($matches) use($setTable) {
			if($setTable && strpos($matches[0], '.')===false && count($this->joins) > 0 && count($this->tables)===1)
				$matches[0] = array_keys($this->tables)[0].'.'.$matches[0];

			return $this->identifierQuotes($matches[0]);
		}, $condition);

		return $condition;
	}
protected function replace($condition, $setTable=true) {
		$condition = preg_replace_callback('/(?<![\.a-zA-Z0-9_'.$this->quote.'\(\)])[a-z_][a-zA-Z0-9._]*(?![^\(]*\))/', function($matches) use($setTable) {
			if($setTable && strpos($matches[0], '.')===false && count($this->joins) > 0 && count($this->tables)===1)
				$matches[0] = array_keys($this->tables)[0].'.'.$matches[0];

			return $this->identifierQuotes($matches[0]);
		}, $condition);

		return $condition;
	}
protected function replace ( $ condition , $ setTable = true ) { $ condition = preg_replace_callback ( '/(?<![\.a-zA-Z0-9_' . $ this -> quote . '\(\)])[a-z_][a-zA-Z0-9._]*(?![^\(]*\))/' , function ( $ matches ) use ( $ setTable ) { if ( $ setTable && strpos ( $ matches [ 0 ] , '.' ) === false && count ( $ this -> joins ) > 0 && count ( $ this -> tables ) === 1 ) $ matches [ 0 ] = array_keys ( $ this -> tables ) [ 0 ] . '.' . $ matches [ 0 ] ; return $ this -> identifierQuotes ( $ matches [ 0 ] ) ; } , $ condition ) ; return $ condition ; }
Format identifiers.
@param  string $condition
@return string
Format identifiers .