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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations)
Fri Nov 30 16:46:39 2007 UTC (16 years, 4 months ago) by dpavlin
File size: 463 byte(s)
refactor unit around Jifty::View::Declare::CRUD
1 use strict;
2 use warnings;
3
4 package Arh::Model::UnitMaterial;
5 use Jifty::DBI::Schema;
6
7 use Arh::Record schema {
8
9 column unit =>
10 refers_to Arh::Model::Unit,
11 label is _("Unit"),
12 is required;
13 column material =>
14 refers_to Arh::Model::Material,
15 label is _("Material"),
16 is required;
17
18 };
19
20 #use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; # created_by, created_on, updated_on
21
22 # Your model-specific methods go here.
23
24 use Arh::DefaultACL;
25
26 1;
27

  ViewVC Help
Powered by ViewVC 1.1.26