/** * Gets the configs from the megamenu's config file * * @return array The array of megamenu configs */ private static function get_megamenu_config() { global $TFUSE; if (self::$mm_config == null) { self::$mm_config = $TFUSE->get->ext_config(self::$mm_class_name, 'base'); } return self::$mm_config; }