Esmith::FormMagick::Panel::review
Contents
- 1 NAME
- 2 SYNOPSIS
- 3 DESCRIPTION
- 3.1 new();
- 3.2 get_prop ITEM PROP
- 3.3 get_net_prop ITEM PROP $fm $item $prop
- 3.4 get_value ITEM
- 3.5 print_header FORMMAGICK HEADER
- 3.6 print_row FORMMAGICK LABEL VALUE
- 3.7 print_gateway_stanza
- 3.8 print_dhcp_stanza
- 3.9 gen_domains
- 3.10 gen_email_addresses
- 3.11 get_local_networks
- 3.12 get_local_domain
- 3.13 get_public_ip_address
- 3.14 print_page
NAME
esmith::FormMagick::Panels::review - 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::review
SYNOPSIS
use esmith::FormMagick::Panels::review;
my $panel = esmith::FormMagick::Panel::review->new(); $panel->display();
DESCRIPTION
new();
Exactly as for esmith::FormMagick
get_prop ITEM PROP
A simple accessor for esmith::ConfigDB::Record::prop
get_net_prop ITEM PROP $fm $item $prop
A simple accessor for esmith::NetworksDB::Record::prop
get_value ITEM
A simple accessor for esmith::ConfigDB::Record::value
print_header FORMMAGICK HEADER
Prints an arbitrary "header" (h2) in the context of the form
print_row FORMMAGICK LABEL VALUE
Prints a row LABELVALUE in the context of the form. LABEL is localized. VALUE is not.
print_gateway_stanza
If this system is a server gateway, show the external ip and gateway ip
print_dhcp_stanza
Prints out the current state of dhcp service
gen_domains
Returns a string of the domains this SME Server serves or a localized string saying "no domains defined"
gen_email_addresses
Returns a string of the various forms of email addresses that work on an SMEServer
get_local_networks
Return a
delimited string of all the networks this SMEServer is serving.
get_local_domain
Get the local domain name
get_public_ip_address
Get the public IP address, if it is set. Note that this will only be set for ServiceLink customers.
print_page
output the whole page we want to show