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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 996 - (hide annotations)
Sun Nov 4 16:20:13 2007 UTC (16 years, 6 months ago) by dpavlin
File size: 468 byte(s)
 r1532@llin:  dpavlin | 2007-11-04 17:20:11 +0100
 new model Sorted which also gets input from WebPAC

1 dpavlin 996 use strict;
2     use warnings;
3    
4     package Webpacus::Model::Sorted;
5     use Jifty::DBI::Schema;
6    
7     use Webpacus::Record schema {
8    
9     column name =>
10     label is _('Field name'),
11     is indexed,
12     is mandatory;
13    
14     column items =>
15     label is _('Occurs in data'),
16     type is 'int',
17     default is 0,
18     is mandatory;
19    
20     column from_database =>
21     label is _('Source database'),
22     is mandatory,
23     is indexed,
24     since '0.0.2';
25    
26     };
27    
28     sub since { '0.0.2' };
29    
30     # Your model-specific methods go here.
31    
32     1;
33    

  ViewVC Help
Powered by ViewVC 1.1.26