Parent Directory | Revision Log
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 |