X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2Fagent.txt;h=13a4f0c4b460f8797902e6c5d2172220092a0170;hp=b0317f6f7a5a85f09ad4b1b37b30afa4568aa35a;hb=9e95f24c0c93f9ca0c8d07041478bc1b36c571d8;hpb=2d5b6a99008439861b047739d1064fd828eccc7d diff --git a/htdocs/docs/man/agent.txt b/htdocs/docs/man/agent.txt index b0317f6f7..13a4f0c4b 100644 --- a/htdocs/docs/man/agent.txt +++ b/htdocs/docs/man/agent.txt @@ -4,8 +4,8 @@ NAME SYNOPSIS use FS::agent; - $record = create FS::agent \%hash; - $record = create FS::agent { 'column' => 'value' }; + $record = new FS::agent \%hash; + $record = new FS::agent { 'column' => 'value' }; $error = $record->insert; @@ -27,7 +27,7 @@ DESCRIPTION prog - For future use. freq - For future use. METHODS - create HASHREF + new HASHREF Creates a new agent. To add the agent to the database, see the section on "insert". @@ -49,9 +49,10 @@ METHODS 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.txt,v 1.3 1999-04-08 13:39:31 ivan Exp $ +BUGS SEE ALSO the FS::Record manpage, the FS::agent_type manpage, the FS::cust_main manpage, schema.html from the base documentation.