X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FFS%2FUI%2FBase.html;h=96c60847dabae0df0e8d938f0884bbd5c76f101e;hp=7823090f601e4eb2bd698ed569f018fd3d4ca3e1;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hpb=ece31063b782031e21ba1f57476afab555af5363 diff --git a/htdocs/docs/man/FS/UI/Base.html b/htdocs/docs/man/FS/UI/Base.html index 7823090f6..96c60847d 100644 --- a/htdocs/docs/man/FS/UI/Base.html +++ b/htdocs/docs/man/FS/UI/Base.html @@ -1,116 +1,99 @@ FS::UI::Base - Base class for all user-interface objects - + +

-

NAME

-

-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;
+

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;
-
+ $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;
+

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. - + 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

+

METHODS

-
new
-
browse
-
title
-
addwidget
+
new
+
+
browse
+
+
title
+
+
addwidget
+


-

VERSION

-

-$Id: Base.html,v 1.2 2000-03-03 18:22:44 ivan Exp $ - +

VERSION

+

$Id: Base.html,v 1.3 2001-04-23 12:40:31 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. - +

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 - - - +

SEE ALSO

+

the FS::UI::Gtk manpage, the FS::UI::CGI manpage


-

HISTORY

-

-$Log: Base.html,v $ -Revision 1.2 2000-03-03 18:22:44 ivan -changes from 1.2.3 release, fixes from webdemo - 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. +

HISTORY

+

$Log: Base.html,v $ +

Revision 1.3 2001-04-23 12:40:31 ivan +

documentation and webdemo updates +

+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.