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

Diff of /lib/A3C/Model/hrEduOrg.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by dpavlin, Thu May 15 19:07:38 2008 UTC revision 124 by dpavlin, Tue May 20 09:49:27 2008 UTC
# Line 13  use A3C::Record schema { Line 13  use A3C::Record schema {
13          column hrEduOrgUniqueNumber =>          column hrEduOrgUniqueNumber =>
14                  label is _('Visestruka vrijednost brojcani identifikator ustanove'),                  label is _('Visestruka vrijednost brojcani identifikator ustanove'),
15                  max_length is 128,                  max_length is 128,
16                    is indexed,
17                  is mandatory;                  is mandatory;
18    
19          column hrEduOrgMail =>          column hrEduOrgMail =>
# Line 96  use A3C::Record schema { Line 97  use A3C::Record schema {
97                  label is _('RFC2256: DN of related object');                  label is _('RFC2256: DN of related object');
98    
99          column postalAddress =>          column postalAddress =>
100                    render as 'textarea',
101                  label is _('RFC2256: postal address');                  label is _('RFC2256: postal address');
102    
103          column physicalDeliveryOfficeName =>          column physicalDeliveryOfficeName =>
# Line 141  use A3C::Record schema { Line 143  use A3C::Record schema {
143          # posixAccount must:          # posixAccount must:
144    
145          column uidNumber =>          column uidNumber =>
146                    type is 'int',
147                  label is _('An integer uniquely identifying a user in an administrative domain'),                  label is _('An integer uniquely identifying a user in an administrative domain'),
148                    is indexed,
149                    is distinct,
150                  is mandatory;                  is mandatory;
151    
152          column uid =>          column uid =>
153                  label is _('RFC1274: user identifier'),                  label is _('RFC1274: user identifier'),
154                  max_length is 256,                  max_length is 256,
155                    is indexed,
156                    is distinct,
157                  is mandatory;                  is mandatory;
158    
159          column homeDirectory =>          column homeDirectory =>
# Line 155  use A3C::Record schema { Line 162  use A3C::Record schema {
162    
163          column cn =>          column cn =>
164                  label is _('RFC2256: common name(s) for which the entity is known by'),                  label is _('RFC2256: common name(s) for which the entity is known by'),
165                    is indexed,
166                  is mandatory;                  is mandatory;
167    
168          column gidNumber =>          column gidNumber =>
169                    type is 'int',
170                  label is _('An integer uniquely identifying a group in an administrative domain'),                  label is _('An integer uniquely identifying a group in an administrative domain'),
171                  is mandatory;                  is mandatory;
172    
# Line 178  use A3C::Record schema { Line 187  use A3C::Record schema {
187    
188  =head2 name  =head2 name
189    
190  Auto-generated human readable id for generic access to name  Humanly readable name of organization
191    
192  =cut  =cut
193    
194  sub name { $_[0]->id }  sub name {
195            my $self = shift;
196            return $self->cn . ' - ' . $self->o;
197    }
198    
199    
200  =head2 ACL  =head2 ACL

Legend:
Removed from v.119  
changed lines
  Added in v.124

  ViewVC Help
Powered by ViewVC 1.1.26