X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=htdocs%2Fdocs%2Fman%2FFS%2Fpart_referral.html;h=61f49de04268a55ffd08438f991afafdd70a6d42;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hp=b6fd2ce899e080b49068fcd05b2ae0df6454af91;hpb=2c816f314a8f3cc46e72e31f34ed97b4e11d0449;p=freeside.git diff --git a/htdocs/docs/man/FS/part_referral.html b/htdocs/docs/man/FS/part_referral.html index b6fd2ce89..61f49de04 100644 --- a/htdocs/docs/man/FS/part_referral.html +++ b/htdocs/docs/man/FS/part_referral.html @@ -1,112 +1,99 @@
-
-FS::part_referral - Object methods for part_referral objects - +
FS::part_referral - Object methods for part_referral objects
-
use FS::part_referral; --
-
$record = new FS::part_referral \%hash - $record = new FS::part_referral { 'column' => 'value' }; --
-
$error = $record->insert; --
-
$error = $new_record->replace($old_record); --
-
$error = $record->delete; --
-
$error = $record->check; -+
+ use FS::part_referral;+
+ $record = new FS::part_referral \%hash + $record = new FS::part_referral { 'column' => 'value' };+
+ $error = $record->insert;+
+ $error = $new_record->replace($old_record);+
+ $error = $record->delete;+
+ $error = $record->check;
-An FS::part_referral represents a referral - where a customer heard of your -services. This can be used to track the effectiveness of a particular piece -of advertising, for example. FS::part_referral inherits from FS::Record. -The following fields are currently supported: - +
An FS::part_referral represents a referral - where a customer heard of your +services. This can be used to track the effectiveness of a particular piece of +advertising, for example. FS::part_referral inherits from FS::Record. The +following fields are currently supported:
-Creates a new referral. To add the referral to the database, see insert. - -
-Adds this referral to the database. If there is an error, returns the -error, otherwise returns false. - -
+
-Replaces OLD_RECORD with this one in the database. If there is an error, +
+-Checks all fields to make sure this is a valid referral. If there is an -error, returns the error, otherwise returns false. Called by the insert and -replace methods. - -
-$Id: part_referral.html,v 1.1 1999-08-04 12:13:27 ivan Exp $ - +
$Id: part_referral.html,v 1.3 2001-04-23 12:40:31 ivan Exp $
-The delete method is unimplemented. - +
The delete method is unimplemented.
-FS::Record, FS::cust_main, schema.html from the base documentation. +
the FS::Record manpage, the FS::cust_main manpage, schema.html from the base documentation.