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

Annotation of /lib/Arh/Model/UnitMaterial.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13 - (hide annotations)
Fri Nov 30 00:03:15 2007 UTC (16 years, 5 months ago) by dpavlin
File size: 415 byte(s)
very crude brain dump of various changes:
- introduce command ACL in Arh::DefaultACL which allmost all modes use
- rewrite most templates and implement crude hack Arch::Web::Material
  to render special type of form to add singe material
- version bump [0.02]
1 dpavlin 2 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 dpavlin 3 refers_to Arh::Model::Unit,
11     is required;
12 dpavlin 2 column material =>
13 dpavlin 3 refers_to Arh::Model::Material,
14     is required;
15 dpavlin 2
16     };
17    
18 dpavlin 10 #use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; # created_by, created_on, updated_on
19    
20 dpavlin 2 # Your model-specific methods go here.
21    
22 dpavlin 13 use Arh::DefaultACL;
23 dpavlin 10
24 dpavlin 2 1;
25    

  ViewVC Help
Powered by ViewVC 1.1.26