/[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 42 - (hide annotations)
Sun Mar 30 16:58:21 2008 UTC (14 years, 8 months ago) by dpavlin
File size: 771 byte(s)
- move all LDAP-related logic in A3C::LDAP
- remove logic to link User and Organization
- ldap search base is now configurable in config.yml
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 dpavlin 42 column uid =>
10     label is _('UID'),
11     is indexed,
12     is distinct,
13     is mandatory;
14    
15 dpavlin 32 column o =>
16     label is _('Naziv matične ustanove'),
17     is mandatory;
18    
19     column l =>
20     label is _('Mjesto'),
21     hist is 'Zagreb',
22     is mandatory;
23    
24     column postalAddress =>
25     label is _('Poštanska adresa'),
26     render as 'textarea',
27     is mandatory;
28    
29     column postalCode =>
30     label is _('Poštanski broj'),
31     hint is 'HR-10000';
32    
33     column street =>
34     label is _('Ulica i kućni broj');
35 dpavlin 42
36     column hrEduOrgUniqueNumber =>
37     label is _('hrEduOrgUniqueNumber'),
38     is mandatory;
39 dpavlin 32
40 dpavlin 42 column telephoneNumber =>
41     label is _('Broj telefona');
42 dpavlin 32
43     };
44    
45     # Your model-specific methods go here.
46    
47     1;
48    

  ViewVC Help
Powered by ViewVC 1.1.26