WikiaView is a simple object that represents the template. Generally you would not need to access it directly but it does have a few features that the developer can use.

Important WikiaView class features

setTemplate(controller, method)

You can use a different template than the default by calling this method.


If you want to explicitly change the path to a template, you can use this but there better be a good reason.


If you want the HTML output from a view you can use the render() function, but the recommended way to do this is the $app->renderView(controller, method, data) helper method which goes through the proper dispatch mechanism.