/[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

Contents of /lib/Arh/Model/Picture.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Thu Nov 29 11:48:39 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 531 byte(s)
minor tweaks, mostly by erasing code which is alway good :-)
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 since '0.0.4';
15
16 column filename =>
17 label is _("Picture filename"),
18 is required,
19 is indexed;
20
21 column type =>
22 label is _("Type of picture"),
23 refers_to Arh::Model::PictureType,
24 is required,
25 is indexed,
26 since '0.0.4';
27
28 };
29
30 # Your model-specific methods go here.
31
32 sub since { '0.0.3' }
33
34 1;
35

  ViewVC Help
Powered by ViewVC 1.1.26