Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Created April 26, 2013 05:02
Show Gist options
  • Save phpmaps/5465128 to your computer and use it in GitHub Desktop.
Save phpmaps/5465128 to your computer and use it in GitHub Desktop.
Get hold of class extending application. In this case the class name is ApplicationController.
ApplicationController application = ((ApplicationController)this.getApplication());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment