Parent Directory | Revision Log
added bunch of models and script to resize tif pictures
1 | use strict; |
2 | use warnings; |
3 | |
4 | package Arh::Model::Picture; |
5 | use Jifty::DBI::Schema; |
6 | |
7 | use Arh::Record schema { |
8 | |
9 | column campaign => |
10 | label is _("Part of campaign"), |
11 | refers_to Arh::Model::Campaign, |
12 | is required, |
13 | is indexed, |
14 | render_as 'select', |
15 | since '0.0.4'; |
16 | |
17 | column filename => |
18 | label is _("Picture filename"), |
19 | is required, |
20 | is indexed; |
21 | |
22 | column type => |
23 | label is _("Type of picture"), |
24 | refers_to Arh::Model::PictureType, |
25 | is required, |
26 | is indexed, |
27 | render_as 'select', |
28 | since '0.0.4', |
29 | |
30 | }; |
31 | |
32 | # Your model-specific methods go here. |
33 | |
34 | sub since { '0.0.3' } |
35 | |
36 | 1; |
37 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |