<<

NAME

pf::config::ui - OO module that holds the ui.conf configuration

SYNOPSIS

The pf::config::ui OO module holds the content of conf/ui.conf hot in memory.

DEVELOPER NOTES

Singleton patterns means you should not keep state within this module.

FILES

conf/ui.conf

SUBROUTINES

instance

Get the singleton instance of pf::config::ui. Create it if it doesn't exist.

new

Constructor. Usually you don't want to call this constructor but use the pf::config::ui::custom subclass instead.

METHODS

_ui_conf

Load ui.conf into a Config::IniFiles tied hashref

field_order

Return the correct field order listed in ui.conf for a given resource.

Ex resources:

    interfaceconfig get

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<