Skip to content

Instantly share code, notes, and snippets.

@bruceyue
Created September 3, 2012 06:29
Show Gist options
  • Save bruceyue/3607292 to your computer and use it in GitHub Desktop.
Save bruceyue/3607292 to your computer and use it in GitHub Desktop.
apex class
/*
* Controller for page
*/
public class MyController
{
private String Id;
public MyController()
{
Id = ApexPages.currentPage().getParameters().get('id');
}
public String MyProperty { get; set; }
public PageReference save()
{
return null;
}
@isTest
static void testMyController()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment