JFactory::getApplication

Get a application object.

Returns the global object, only creating it if it doesn't already exist.