/[Arh]/lib/Arh/Model/Picture.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 /lib/Arh/Model/Picture.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (hide annotations)
Thu Nov 29 11:20:24 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 575 byte(s)
added bunch of models and script to resize tif pictures
1 dpavlin 4 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