Functional Grammar is a model of grammar motivated by functions. FG places great importance on functional relations in the organization of grammar and as such it is the theory of the organization of natural language.
You may want to check these links for more on FG:
Systemic functional grammar - Wikipedia, the free encyclopedia Functional Grammar: Course homepage functionalgrammar.com