X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2Fagent_type.txt;h=5983fee88e2955585cd04214e22c3d0b181f4981;hp=ea1edec0c3c54838218a91f2d7bef04371340543;hb=9e95f24c0c93f9ca0c8d07041478bc1b36c571d8;hpb=2d5b6a99008439861b047739d1064fd828eccc7d diff --git a/htdocs/docs/man/agent_type.txt b/htdocs/docs/man/agent_type.txt index ea1edec0c..5983fee88 100644 --- a/htdocs/docs/man/agent_type.txt +++ b/htdocs/docs/man/agent_type.txt @@ -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 +