1 package FS::svc_CGP_Mixin;
7 FS::svc_CGP_Mixin - Mixin class for svc_classes which can be related to cgp_rule
11 package FS::svc_table;
12 use base qw( FS::svc_CGP_Mixin FS::svc_Common );
16 This is a mixin class for svc_ classes that are exported to Communigate Pro.
18 It currently contains timezone data for domains and accounts.
26 Returns an arrayref of Communigate time zones.
30 #http://www.communigate.com/pub/client/TimeZones.data
31 #http://www.communigate.com/cgatepro/WebMail.html#Settings
33 sub cgp_timezone_values {
34 #my $self = shift; #i'm used as a class and object method but just return data
38 '(+0100) Algeria/Congo',
39 '(+0200) Egypt/South Africa',
40 '(+0300) Saudi Arabia',
44 '(+0700) Thailand/Vietnam',
45 '(+0800) China/Malaysia',
46 '(+0900) Japan/Korea',
50 '(+1300) Tonga/Kiribati',
51 '(+1400) Christmas Islands',
52 '(-0100) Azores/Cape Verde',
53 '(-0200) Fernando de Noronha',
54 '(-0300) Argentina/Uruguay',
55 '(-0400) Venezuela/Guyana',
57 '(-0600) Central America',
58 '(-0700) Arisona', #Arizona?
60 '(-0900) Marquesas Islands',
61 '(-1000) Hawaii/Tahiti',
73 'Australia/NorthernTerritory',
80 'NewZealand/Auckland',
81 'NorthAmerica/Alaska',
82 'NorthAmerica/Atlantic',
83 'NorthAmerica/Central',
84 'NorthAmerica/Eastern',
85 'NorthAmerica/Mountain',
86 'NorthAmerica/Pacific',
87 'Russia/Ekaterinburg',
95 'SouthAmerica/Brasil',
97 'SouthAmerica/Paraguay',
101 =item cgp_emptytrash_values
103 Returns an arrayref of possible EmptyTrash values.
107 #http://www.communigate.com/cgatepro/WebMail.html#Trash
109 sub cgp_emptytrash_values {
110 #my $self = shift; #i'm used as a class and object method but just return data
112 [ '', #<option value="-1">default(92 days)
134 =item cgp_certificatetype_values
136 Returns an arrayref of possible CertificateType values.
140 #http://www.communigate.com/cgatepro/PKI.html
142 sub cgp_certificatetype_values {
144 [ '', #<option value="-1">default(Test)