/[webpac2]/Webpacus2/lib/Webpacus/Model/UFO.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 /Webpacus2/lib/Webpacus/Model/UFO.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1059 - (hide annotations)
Tue Nov 20 10:09:54 2007 UTC (16 years, 6 months ago) by dpavlin
File size: 586 byte(s)
 r1655@llin:  dpavlin | 2007-11-20 11:09:49 +0100
 added UFO model to receive data from WebPAC::Output::Jifty

1 dpavlin 1059 use strict;
2     use warnings;
3    
4     package Webpacus::Model::UFO;
5     use Jifty::DBI::Schema;
6    
7     use Webpacus::Record schema {
8    
9     column date =>
10     label is _('Date'),
11     type is 'date',
12     is indexed,
13     is mandatory;
14    
15     column time =>
16     label is _('Time'),
17     type is 'time',
18     is indexed,
19     is mandatory;
20    
21     column town =>
22     label is _('Town or Village'),
23     is mandatory,
24     is indexed;
25    
26     column county =>
27     label is _('County'),
28     is mandatory,
29     is indexed;
30    
31     column comment =>
32     label is _('Comment'),
33     is mandatory,
34     is indexed;
35     };
36    
37     sub since { '0.0.3' };
38    
39     # Your model-specific methods go here.
40    
41     1;
42    

  ViewVC Help
Powered by ViewVC 1.1.26