public static function init($str = 'tiny', $menu_title, $title, $fields, $tabs, $parent_class, $file = false, $role = false) { self::$fields = $fields; self::$tabs = $tabs; self::$file = $file ? $file : __FILE__; self::$id = $str . '_options'; self::$menu_title = $menu_title; self::$title = $title; self::$parent_class = $parent_class; self::$role = $role ? $role : self::$role; self::build_settings(); add_options_page(self::$title, self::$menu_title, self::$role, self::$file, array('HackRepair_Plugin_Archiver_Options', 'page')); }