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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 34 - (show annotations)
Fri Dec 14 14:39:05 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 429 byte(s)
more tweaks on toggle edit to make it (partially) working -- it
works in tests, but reports wrong message (?!)
1 use strict;
2 use warnings;
3
4 package Arh::Model::UnitPicture;
5 use Jifty::DBI::Schema;
6
7 use Data::Dump qw/dump/;
8
9 use Arh::Record schema {
10
11 column unit =>
12 refers_to Arh::Model::Unit,
13 label is _("Unit"),
14 is mandatory;
15 column picture =>
16 refers_to Arh::Model::Picture,
17 label is _("Picture"),
18 ajax validates,
19 is mandatory;
20
21 };
22
23 sub since { '0.0.11' };
24
25 # Your model-specific methods go here.
26
27 use Arh::DefaultACL;
28
29 1;
30

  ViewVC Help
Powered by ViewVC 1.1.26