regenerated perl api docs from embedded pod
[freeside.git] / htdocs / docs / man / agent_type.txt
index ea1edec..5983fee 100644 (file)
@@ -4,8 +4,8 @@ NAME
 SYNOPSIS
       use FS::agent_type;
 
-      $record = create FS::agent_type \%hash;
-      $record = create FS::agent_type { 'column' => 'value' };
+      $record = new FS::agent_type \%hash;
+      $record = new FS::agent_type { 'column' => 'value' };
 
       $error = $record->insert;
 
@@ -27,7 +27,7 @@ DESCRIPTION
     typenum - primary key (assigned automatically for new agent types)
     atype - Text name of this agent type
 METHODS
-    create HASHREF
+    new HASHREF
         Creates a new agent type. To add the agent type to the
         database, see the section on "insert".
 
@@ -49,9 +49,10 @@ METHODS
         If there is an error, returns the error, otherwise returns
         false. Called by the insert and replace methods.
 
-BUGS
-    It doesn't properly override FS::Record yet.
+VERSION
+    $Id: agent_type.txt,v 1.3 1999-04-08 13:39:31 ivan Exp $
 
+BUGS
 SEE ALSO
     the FS::Record manpage, the FS::agent manpage, the FS::type_pkgs
     manpage, the FS::cust_main manpage, the FS::part_pkg manpage,
@@ -70,3 +71,9 @@ HISTORY
 
     pod, added check in delete ivan@sisd.com 98-sep-21
 
+    $Log: agent_type.txt,v $
+    Revision 1.3  1999-04-08 13:39:31  ivan
+    convert from pod for 1.2.0 release
+ Revision 1.2 1998/12/29 11:59:35 ivan
+    mostly properly OO, some work still to be done with svc_ stuff
+