/[A3C]/lib/A3C/Model/Organization.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/A3C/Model/Organization.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (hide annotations)
Tue Mar 18 19:03:53 2008 UTC (14 years, 10 months ago) by dpavlin
File size: 653 byte(s)
- move organisations in own model
- more general ldap2model sub will try to fill model with ldap entry data
1 dpavlin 32 use strict;
2     use warnings;
3    
4     package A3C::Model::Organization;
5     use Jifty::DBI::Schema;
6    
7     use A3C::Record schema {
8    
9     column o =>
10     label is _('Naziv matične ustanove'),
11     is mandatory;
12    
13     column hrEduPersonHomeOrg =>
14     label is _('Oznaka matične ustanove'),
15     hint is 'CARNet',
16     is mandatory;
17    
18     column l =>
19     label is _('Mjesto'),
20     hist is 'Zagreb',
21     is mandatory;
22    
23     column postalAddress =>
24     label is _('Poštanska adresa'),
25     render as 'textarea',
26     is mandatory;
27    
28     column postalCode =>
29     label is _('Poštanski broj'),
30     hint is 'HR-10000';
31    
32     column street =>
33     label is _('Ulica i kućni broj');
34    
35    
36     };
37    
38     # Your model-specific methods go here.
39    
40     1;
41    

  ViewVC Help
Powered by ViewVC 1.1.26