Calling a view or form in a Function

Calling a view or form in a Function

So I have a view that I have setup and a custom action that calls a function and works (function is just some simple test code)

What I need to be able to do is two things:

1.  I need the syntax for calling a view from the Function

2.  I need the syntax for calling a form from the function.

Help