/[webpac2]/Webpacus2/lib/Webpacus/Model/Search.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/Search.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: 444 byte(s)
 r1532@llin:  dpavlin | 2007-11-04 17:20:11 +0100
 new model Sorted which also gets input from WebPAC

1 dpavlin 930 use strict;
2     use warnings;
3    
4     package Webpacus::Model::Search;
5     use Jifty::DBI::Schema;
6    
7     use Webpacus::Record schema {
8    
9     column name =>
10     label is _('Field name'),
11 dpavlin 996 is indexed,
12 dpavlin 930 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 dpavlin 996 column from_database =>
21     label is _('Source database'),
22     is mandatory,
23     is indexed,
24     since '0.0.2';
25    
26 dpavlin 930 };
27    
28     # Your model-specific methods go here.
29    
30     1;
31    

  ViewVC Help
Powered by ViewVC 1.1.26