function __construct() {
     parent::__construct();
     global $wpdb;
     $this->wpdb = &$wpdb;
     $this->table_name = $this->table_prefix . "groups";
     $this->create_table();
 }
 function __construct() {
     parent::__construct();
     global $wpdb;
     $this->wpdb = &$wpdb;
     $this->table_name = $this->table_prefix . "events";
     $this->import_model('groups');
     $this->import_model('event_posts');
 }
    function __construct() {

	parent::__construct();
	
	/*if (!$this->get('category_id')) {
	    $this->set_category($this->default_category);
	}*/
	
	//print_r(get_option($this->option_key, $this->default_value));
	
    }
    function __construct() {
	parent::__construct();
	$this->import_model('options');
    }
    function __construct() {
	parent::__construct();
        global $wpdb;
        $this->wpdb = &$wpdb;
	$this->import_model('options');
    }