/[A3C]/lib/A3C/Model/StrixInstance.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/A3C/Model/StrixInstance.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (hide annotations)
Mon Jun 16 16:48:16 2008 UTC (15 years, 10 months ago) by dpavlin
File size: 929 byte(s)
big rename of StrixSite to StrixInstance, added sitemap and layout

rename creates huge diff, which is rather unfortunate, but we needed
to get terminology stright: sites are part of strix instances
1 dpavlin 139 use strict;
2     use warnings;
3    
4 dpavlin 174 package A3C::Model::StrixInstance;
5 dpavlin 139 use Jifty::DBI::Schema;
6    
7     use A3C::Record schema {
8    
9 dpavlin 174 column instance =>
10     label is _('Instance identifier'),
11 dpavlin 139 is mandatory,
12     is disctinct,
13     is immutable,
14     is indexed;
15    
16     # same as Strix's conf.php variables
17    
18     column _site_name =>
19     label is _('Descriptive name'),
20     is indexed,
21     is distinct;
22    
23     column _site_admin =>
24     label is _('Admin e-mail');
25    
26     column _site_is_root =>
27     type is 'boolean';
28    
29     column _dbserver =>
30     is mandatory;
31    
32     column _dbname =>
33     is mandatory;
34    
35     column _skole_external_uid =>
36     type is 'int';
37    
38     column _mail_on_error =>
39     type is 'boolean';
40    
41     column _auth_type_name =>
42     label is _('Auth type');
43    
44     column __arhiva =>
45     type is 'boolean',
46     default is 0;
47    
48     column _force_nossl =>
49     label is _('Disable SSL'),
50     type is 'boolean',
51     default is 0;
52    
53     };
54    
55     sub since { '0.0.3' };
56    
57     # Your model-specific methods go here.
58    
59     use A3C::DefaultACL;
60    
61     1;
62    

  ViewVC Help
Powered by ViewVC 1.1.26