__construct();
}
/**
* PHP5 style contructor
*
* Hooks into all of the necessary WordPress actions and filters needed
* for this plugin to function
*
* @since 1.0
* @return none
*/
function __construct() {
AjaxPluginHelper::__construct();
add_action('admin_head-plugins.php', array(&$this, 'admin_jquery'));
add_action('admin_head-plugins.php', array(&$this, 'admin_css'));
add_action('admin_footer-plugins.php', array(&$this, 'admin_js'));
}
/**
* Enqueue jQuery so this plugin can use it
*
* @since 1.0
* @return none
*/
function admin_jquery() {
wp_enqueue_script('jquery');
}
/**
* Output CSS required by this plugin to head
*
* @since 1.1
* @return none
*/
function admin_css() {
?>