Parent Directory | Revision Log
added UnitPicture model, first try at user interface for it
1 | dpavlin | 28 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Arh::Model::UnitPicture; | ||
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 mandatory; | ||
13 | column picture => | ||
14 | refers_to Arh::Model::Picture, | ||
15 | label is _("Picture"), | ||
16 | is mandatory; | ||
17 | |||
18 | }; | ||
19 | |||
20 | sub since { '0.0.11' }; | ||
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 |