/** * Returns reference to tabs array, initializing if needed. * * NOTE: This cannot be done in a static constructor due to timing with i18n. */ public static function &getTabs() { if (!isset(self::$tabs)) { self::$tabs = array('General' => __('General', 'document-gallery'), 'Thumbnail' => __('Thumbnail Management', 'document-gallery'), 'Logging' => __('Logging', 'document-gallery'), 'Advanced' => __('Advanced', 'document-gallery')); } return self::$tabs; }
/** * Returns reference to tabs array, initializing if needed. * * NOTE: This cannot be done in a static constructor due to timing with i18n. */ public static function &getTabs() { if (!isset(self::$tabs)) { self::$tabs = array('general-tab' => __('General', 'document-gallery'), 'thumber-co-tab' => __('Thumber.co', 'document-gallery'), 'thumbnail-management-tab' => __('Thumbnail Management', 'document-gallery'), 'logging-tab' => __('Logging', 'document-gallery'), 'advanced-tab' => __('Advanced', 'document-gallery')); } return self::$tabs; }