Esmith::FormMagick::Panel::workgroup

From SME Server
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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