From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/UI/Base.html | 117 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 htdocs/docs/man/FS/UI/Base.html (limited to 'htdocs/docs/man/FS/UI/Base.html') diff --git a/htdocs/docs/man/FS/UI/Base.html b/htdocs/docs/man/FS/UI/Base.html new file mode 100644 index 000000000..91a4df64d --- /dev/null +++ b/htdocs/docs/man/FS/UI/Base.html @@ -0,0 +1,117 @@ + + +FS::UI::Base - Base class for all user-interface objects + + + + + + + + + + +
+

+

NAME

+

+FS::UI::Base - Base class for all user-interface objects + +

+


+

SYNOPSIS

+

+

  use FS::UI::SomeInterface;
+  use FS::UI::some_table;
+
+

+

  $interface = new FS::UI::some_table;
+
+

+

  $error = $interface->browse;
+  $error = $interface->search;
+  $error = $interface->view;
+  $error = $interface->edit;
+  $error = $interface->process;
+
+

+


+

DESCRIPTION

+

+An FS::UI::Base object represents a user interface object. FS::UI::Base is +intended as a base class for table-specfic classes to inherit from, i.e. +FS::UI::cust_main. The simplest case, which will provide a default UI for +your new table, is as follows: + +

+

  package FS::UI::table_name;
+  use vars qw ( @ISA );
+  use FS::UI::Base;
+  @ISA = qw( FS::UI::Base );
+  sub db_table { 'table_name'; }
+
+

+Currently available interfaces are: FS::UI::Gtk, an X-Windows UI +implemented using the Gtk+ toolkit FS::UI::CGI, a web interface implemented +using CGI.pm, etc. + +

+


+

METHODS

+
+
new
+
browse
+
title
+
addwidget
+
+

+


+

VERSION

+

+$Id: Base.html,v 1.1 1999-08-04 12:13:27 ivan Exp $ + +

+


+

BUGS

+

+This documentation is incomplete. + +

+There should be some sort of per-(freeside)-user preferences and the +ability for specific FS::UI:: modules to put their own values there as +well. + +

+


+

SEE ALSO

+

+FS::UI::Gtk, FS::UI::CGI + + + +

+


+

HISTORY

+

+$Log: Base.html,v $ +Revision 1.1 1999-08-04 12:13:27 ivan +new HTML manpages + Revision 1.1 1999/08/04 09:03:53 ivan initial checkin of +module files for proper perl installation + +

+Revision 1.1 1999/01/20 09:30:36 ivan skeletal cross-UI UI code. + + + + -- cgit v1.2.1