private function create_tables() { $kernel = new KernelSetup(); $kernel->install(); }
public static function __static() { self::$db_utils = PersistenceContext::get_dbms_utils(); self::$db_querier = PersistenceContext::get_querier(); self::$comments_table = PREFIX . 'comments'; self::$comments_topic_table = PREFIX . 'comments_topic'; self::$note_table = PREFIX . 'note'; self::$average_notes_table = PREFIX . 'average_notes'; self::$visit_counter_table = PREFIX . 'visit_counter'; self::$configs_table = PREFIX . 'configs'; self::$events_table = PREFIX . 'events'; self::$errors_404_table = PREFIX . 'errors_404'; self::$group_table = PREFIX . 'group'; self::$keywords_table = PREFIX . 'keywords'; self::$keywords_relations_table = PREFIX . 'keywords_relations'; self::$member_table = PREFIX . 'member'; self::$member_extended_fields_table = PREFIX . 'member_extended_fields'; self::$member_extended_fields_list = PREFIX . 'member_extended_fields_list'; self::$menus_table = PREFIX . 'menus'; self::$pm_msg_table = PREFIX . 'pm_msg'; self::$pm_topic_table = PREFIX . 'pm_topic'; self::$sessions_table = PREFIX . 'sessions'; self::$internal_authentication_table = PREFIX . 'internal_authentication'; self::$internal_authentication_failures_table = PREFIX . 'internal_authentication_failures'; self::$authentication_method_table = PREFIX . 'authentication_method'; self::$smileys_table = PREFIX . 'smileys'; self::$upload_table = PREFIX . 'upload'; self::$upload_cat_table = PREFIX . 'upload_cat'; }