1 package FS::conferencing_type;
2 use base qw( FS::Record );
8 FS::conferencing_type - Object methods for conferencing_type records
12 use FS::conferencing_type;
14 $record = new FS::conferencing_type \%hash;
15 $record = new FS::conferencing_type { 'column' => 'value' };
17 $error = $record->insert;
19 $error = $new_record->replace($old_record);
21 $error = $record->delete;
23 $error = $record->check;
27 An FS::conferencing_type object represents a conferencing type.
28 FS::conferencing_type inherits from FS::Record. The following fields are
39 Numeric (vendor) ID for type type
57 Creates a new record. To add the record to the database, see L<"insert">.
59 Note that this stores the hash reference, not a distinct copy of the hash it
60 points to. You can ask the object for a copy with the I<hash> method.
64 sub table { 'conferencing_type'; }
68 Adds this record to the database. If there is an error, returns the error,
69 otherwise returns false.
73 Delete this record from the database.
75 =item replace OLD_RECORD
77 Replaces the OLD_RECORD with this one in the database. If there is an error,
78 returns the error, otherwise returns false.
82 Checks all fields to make sure this is a valid record. If there is
83 an error, returns the error, otherwise returns false. Called by the insert
92 $self->ut_numbern('conftypenum')
93 || $self->ut_number('typeid')
94 || $self->ut_text('typename')
95 || $self->ut_enum('disabled', [ '', 'Y' ] )
97 return $error if $error;
108 L<FS::svc_conferencing>, L<FS::Record>