function set_constants()
 {
     $this->hook = 'options-general.php';
     $this->title = __('Event Organiser Settings', 'eventorganiser');
     $this->menu = __('Event Organiser', 'eventorganiser');
     $this->permissions = 'manage_options';
     $this->slug = 'event-settings';
     self::$eventorganiser_roles = array('edit_events' => __('Edit Events', 'eventorganiser'), 'publish_events' => __('Publish Events', 'eventorganiser'), 'delete_events' => __('Delete Events', 'eventorganiser'), 'edit_others_events' => __('Edit Others\' Events', 'eventorganiser'), 'delete_others_events' => __('Delete Other\'s Events', 'eventorganiser'), 'read_private_events' => __('Read Private Events', 'eventorganiser'), 'manage_venues' => __('Manage Venues', 'eventorganiser'), 'manage_event_categories' => __('Manage Event Categories & Tags', 'eventorganiser'));
 }
 function init()
 {
     global $eventorganiser_roles;
     self::$editable_roles = get_editable_roles();
     self::$sup_array = array(__('Organiser', 'eventorganiser') . ' (' . __('Author') . ')' => 'author', __('Thumbnail') => 'thumbnail', __('Excerpt') => 'excerpt', __('Custom Fields') => 'custom-fields', __('Comments') => 'comments', __('Revisions') => 'revisions');
     self::$eventorganiser_roles = array('edit_events' => __('Edit Events', 'eventorganiser'), 'publish_events' => __('Publish Events', 'eventorganiser'), 'delete_events' => __('Delete Events', 'eventorganiser'), 'edit_others_events' => __('Edit Others\' Events', 'eventorganiser'), 'delete_others_events' => __('Delete Other\'s Events', 'eventorganiser'), 'read_private_events' => __('Read Private Events', 'eventorganiser'), 'manage_venues' => __('Manage Venues', 'eventorganiser'), 'manage_event_categories' => __('Manage Event Categories & Tags', 'eventorganiser'));
     self::$settings = get_option('eventorganiser_options');
 }