He told her he had gone to the hair shop.
S + V + I O + D O(that S V)

It is report expression through indirect citation or explanation.