Esmith::FormMagick::Panel::workgroup

From SME Server
Jump to navigationJump to search

NAME

esmith::FormMagick::Panels::workgroup - useful panel functions

In a root terminal you can do the command below if you want to display the up-to-date content

perldoc esmith::FormMagick::Panels::workgroup

SYNOPSIS

          use esmith::FormMagick::Panels::workgroup;

          my $panel = esmith::FormMagick::Panel::workgroup->new();
          $panel->display();

DESCRIPTION

new();

Exactly as for esmith::FormMagick

get_prop ITEM PROP

A simple accessor for esmith::ConfigDB::Record::prop

get_value ITEM

A simple accessor for esmith::ConfigDB::Record::value

VALIDATION ROUTINES

validate_servername

Returns OK if servername is valid.

Returns servername_VALIDATION_ERROR and pushes us back to the first page otherwise.

validate_workgroup

Returns OK if workgroup is valid. Returns workgroup_VALIDATION_ERROR and pushes us back to the first page otherwise.

ACTION

change_settings

If everything has been validated, properly, go ahead and set the new settings