lib/SQLBuilder.php
private function prependTableNameToFields($hash=array())
	{
		$new = array();
		$table = $this->connection->quoteName($this->table);

		foreach ($hash as $key => $value)
		{
			$k = $this->connection->quoteName($key);
			$new[$table.'.'.$k] = $value;
		}

		return $new;
	}
private function prependTableNameToFields($hash=array())
	{
		$new = array();
		$table = $this->connection->quoteName($this->table);

		foreach ($hash as $key => $value)
		{
			$k = $this->connection->quoteName($key);
			$new[$table.'.'.$k] = $value;
		}

		return $new;
	}
private function prependTableNameToFields ( $ hash = array ( ) ) { $ new = array ( ) ; $ table = $ this -> connection -> quoteName ( $ this -> table ) ; foreach ( $ hash as $ key => $ value ) { $ k = $ this -> connection -> quoteName ( $ key ) ; $ new [ $ table . '.' . $ k ] = $ value ; } return $ new ; }
prepends table name to hash of field names to get around ambiguous fields when SQL builder
has joins

@param array $hash
@return array $new
prepends table name to hash of field names to get around ambiguous fields when SQL builder has joins