Facilitate your ajax treatments with a simply object
With this class, you can easily manage your ajax functions with a default argument called "action". When a request is sent, this class checks is the action sent exist. A secure function can be added if a request must have a specific permission or a authentication.