Todo List
This class is specifically for setuping/printing out ajax related elements onto a page it takes care of the observing and all that raz-a-ma-taz
static void action( $action, $source, [ $post = ''])
This takes the action, the source and the post (if passed) and generated the full ajax link
static void button( $action, $icon, $alt, [ $source = ''], [ $post = ''], [ $class = ''])
This prints out an img of the specified icon with the specified alt text and then sets up the required ajax for it
static void end_container( )
This ends the container if we're not doing the AJAX thing
static void observe( $source, $method, $action, [ $post = ''])
This returns a string with the correct and full ajax 'observe' stuff from prototype
static void run( $action)
This runs the specified action no questions asked
static void start_container( $name)
This checks to see if we're AJAX'in if we aren't then it echos out the html needed to start a container that can be replaced by Ajax
static void text( $action, $text, $source, [ $post = ''], [ $class = ''])
This prints out the specified text as a link and setups the required ajax for the link so it works correctly
Ajax __construct( )
This is what is called when the class is loaded