188. ProductFeatures

Product features

188.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    188.2. Global Functions

    188.2.1. GetBooleanFeature

    Get value of a feature

    Function parameters

    • string section

    • string feature

    Return value

    • boolean - the feature value

    188.2.2. GetFeature

    Get value of a feature

    Function parameters

    • string section

    • string feature

    Return value

    • any - the feature value

    188.2.3. GetSection

    Get a complete section for evaluation

    Function parameters

    • string section_name

    Return value

    • map<string,any> - a map key->value, options in the section

    188.2.4. GetStringFeature

    Get value of a feature

    Function parameters

    • string section

    • string feature

    Return value

    • string - the feature value

    188.2.5. InitIfNeeded

    Initialize the features structure if needed Either read from /etc/YaST2/ProductFeatures or set default values

    Return value

    • void

    188.2.6. Restore

    Restore product features in running system

    Return value

    • void

    188.2.7. Save

    Save product features

    Return value

    • void

    188.2.8. SetBooleanFeature

    Set value of a feature

    Function parameters

    • string section

    • string feature

    • boolean value

    Return value

    • void

    188.2.9. SetFeature

    Set value of a feature

    Function parameters

    • string section

    • string feature

    • any value

    Return value

    • void

    188.2.10. SetSection

    Set a feature section Default values will be used where value not defined

    Function parameters

    • string section_name

    • map<string,any> section_map

    Return value

    • void

    188.2.11. SetStringFeature

    Set value of a feature

    Function parameters

    • string section

    • string feature

    • string value

    Return value

    • void

    188.3. Global Variables

    188.4. Module Requirements

    188.4.1. Module Imports

    • Misc
    • Mode
    • Stage

    188.4.2. Module Includes