X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FFS%2Ftype_pkgs.html;fp=htdocs%2Fdocs%2Fman%2FFS%2Ftype_pkgs.html;h=30b052b8174f773650b219d41ad6fce24f71bd18;hp=65fa8c0a76f554e21fa50a5c013a96410b36bedd;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hpb=ece31063b782031e21ba1f57476afab555af5363 diff --git a/htdocs/docs/man/FS/type_pkgs.html b/htdocs/docs/man/FS/type_pkgs.html index 65fa8c0a7..30b052b81 100644 --- a/htdocs/docs/man/FS/type_pkgs.html +++ b/htdocs/docs/man/FS/type_pkgs.html @@ -1,108 +1,99 @@
-
-FS::type_pkgs - Object methods for type_pkgs records - +
FS::type_pkgs - Object methods for type_pkgs records
-
use FS::type_pkgs; --
-
$record = new FS::type_pkgs \%hash; - $record = new FS::type_pkgs { 'column' => 'value' }; --
-
$error = $record->insert; --
-
$error = $new_record->replace($old_record); --
-
$error = $record->delete; --
-
$error = $record->check; -+
+ use FS::type_pkgs;+
+ $record = new FS::type_pkgs \%hash; + $record = new FS::type_pkgs { 'column' => 'value' };+
+ $error = $record->insert;+
+ $error = $new_record->replace($old_record);+
+ $error = $record->delete;+
+ $error = $record->check;
-An FS::type_pkgs record links an agent type (see FS::agent_type) to a billing item definition (see FS::part_pkg). FS::type_pkgs inherits from FS::Record. The following fields are -currently supported: - +
An FS::type_pkgs record links an agent type (see the FS::agent_type manpage) to a +billing item definition (see the FS::part_pkg manpage). FS::type_pkgs inherits from +FS::Record. The following fields are currently supported:
-Create a new record. To add the record to the database, see insert. - -
-Adds this record to the database. If there is an error, returns the error, +
-Deletes this record from the database. If there is an error, returns the +
+-Replaces OLD_RECORD with this one in the database. If there is an error, +
+-Checks all fields to make sure this is a valid record. If there is an -error, returns the error, otherwise returns false. Called by the insert and -replace methods. - -
-$Id: type_pkgs.html,v 1.2 2000-03-03 18:22:44 ivan Exp $ - +
$Id: type_pkgs.html,v 1.3 2001-04-23 12:40:31 ivan Exp $
-FS::Record, FS::agent_type, FS::part_pkgs, schema.html from the base documentation. +
the FS::Record manpage, the FS::agent_type manpage, the FS::part_pkgs manpage, schema.html from the base +documentation.