197. ProductControl

Product Control routines

197.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    197.2. Global Functions

    197.2.1. AddWizardSteps

    Add Wizard Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    197.2.2. Init

    Initialize Product Control

    Return value

    • boolean - True on success

    197.2.3. ProductControl

    ProductControl Constructor

    Return value

    • void

    197.2.4. ReadControlFile

    Read XML Control File

    Function parameters

    • string controlfile

    Return value

    • boolean

    197.2.5. RequiredFiles

    Get list of required files for the workflow.

    Function parameters

    • string stage

    • string mode

    Return value

    • list<string> - Required files list.

    197.2.6. RestartingStep

    Return step which restarted YaST (or rebooted the system)

    Return value

    • map - a map describing the step

    197.2.7. RetranslateWizardSteps

    Retranslate Wizard Steps

    Return value

    • void

    197.2.8. Run

    Run Workflow

    Return value

    • symbol

    197.2.9. SkippedSteps

    List steps which were skipped since last restart of YaST

    Return value

    • list<map> - a list of maps describing the steps

    197.2.10. UpdateWizardSteps

    Update Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    197.2.11. checkArch

    Check if valid architecture

    Function parameters

    • map mod

    • map def

    Return value

    • boolean - true if arch match

    197.2.12. checkDisabled

    Check if a module is disabled

    Function parameters

    • map mod

    Return value

    • boolean

    197.2.13. getClientTerm

    Return term to be used to run module with CallFunction

    Function parameters

    • map step

    • map def

    • any former_result

    Return value

    • term - module data with params

    197.2.14. getCompleteWorkflow

    Get Workflow

    Function parameters

    • string stage

    • string mode

    Return value

    • map - Workflow map

    197.2.15. getLockedProposals

    Get Proposal list that can not be changed by the user.

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • list<string> - list of locked proposals

    197.2.16. getModeDefaults

    Get workflow defaults

    Function parameters

    • string stage

    • string mode

    Return value

    • map - defaults

    197.2.17. getModules

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • symbol which

    Return value

    • list<map> - modules

    197.2.18. getProposalProperties

    Return proposal Label

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • map

    197.2.19. getProposalTextDomain

    Return text domain

    Return value

    • string

    197.2.20. getProposals

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • list < list > - modules

    197.2.21. getWorkflowLabel

    Get Workflow Label

    Function parameters

    • string stage

    • string mode

    • string wz_td

    Return value

    • string

    197.2.22. setClientPrefix

    Set Client Prefix

    Function parameters

    • string prefix

    Return value

    • void

    197.3. Global Variables

    197.4. Module Requirements

    197.4.1. Module Imports

    • Arch
    • Directory
    • Hooks
    • Label
    • Mode
    • Popup
    • ProductFeatures
    • Report
    • Stage
    • Wizard
    • XML

    197.4.2. Module Includes