Configuration of dhcp-server |
include/dhcp-server/widgets.ycp |
Widgets | |
|
|
This module has an unstable interface. |
Function for deleting entry from section Used for all (global, host, subnet) section due to the same location of data
- Parameters:
-
opt_id any option id key string option key
- Return value:
-
true if was really deleted
Create list of identifiers of etries that should be present in the table
- Parameters:
-
descr map description of the table
- Return value:
-
of identifiers of entries of the table
Transform table entry id to option id
- Parameters:
-
table map table description id any entry id
- Return value:
-
option key
Get the popup widget description map
- Parameters:
-
opt_key string option key
- Return value:
-
popup description map
Get map of widget
- Parameters:
-
add_values list of values to be offered via the add button
- Return value:
-
of widget
Ask for exit without saving
- Return value:
-
event that should be handled, nil if user canceled the exit
Check whether settings were changed and if yes, ask for exit without saving
- Return value:
-
event that should be handled, nil if user canceled the exit
Enable or disable a widget according the current status of the service
- Parameters:
-
id string widget id event map event that caused storing process
Initialize the widget
- Parameters:
-
id any widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Handle function of the widget
- Parameters:
-
id string widget id event map event that caused storing process
- Return value:
-
always nil
Initialize the widget
- Parameters:
-
id any widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Handle function of the widget
- Parameters:
-
id string widget id event map event that caused storing process
- Return value:
-
always nil
Initialize the widget
- Parameters:
-
id any widget id
Set the LDAP usage, reinitalize LDAP support
- Parameters:
-
use_ldap boolean true if LDAP is to be used
Handle function of the widget
- Parameters:
-
id string widget id event map event that caused storing process
- Return value:
-
always nil
Initialize the widget
- Parameters:
-
id any widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Handle function of the widget
- Parameters:
-
id string widget id event map event that caused storing process
- Return value:
-
always nil
Initialize the widget
- Parameters:
-
id any widget id
Initialize the widget
- Parameters:
-
id any widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Initialize the widget
- Parameters:
-
id any widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Initialize the widget
- Parameters:
-
id string widget id
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Initialize the widget
- Parameters:
-
id any widget id
Handle events of the widget
- Parameters:
-
id string widget id event map event that is handled
- Return value:
-
for WS
Handle events of the widget
- Parameters:
-
id string widget id event map event that is handled
- Return value:
-
for WS
Initialize the widget
- Parameters:
-
id string widget id
Validate the widget
- Parameters:
-
id string widget id event map event that is handled
- Return value:
-
true if validation succeeded
Store settings of the widget
- Parameters:
-
id string widget id event map event that caused storing process
Handle events of the widget
- Parameters:
-
id string widget id event map event that is handled
- Return value:
-
for WS
Validate the widget
- Parameters:
-
id string widget id event map event that is handled
- Return value:
-
true if validation succeeded
Initialize widgets Create description map and copy it into appropriate variable of the DhcpServer module