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

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

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

revision 42 by dpavlin, Sun Mar 30 16:58:21 2008 UTC revision 45 by dpavlin, Sun Mar 30 22:29:42 2008 UTC
# Line 35  use A3C::Record schema { Line 35  use A3C::Record schema {
35    
36          column hrEduOrgUniqueNumber =>          column hrEduOrgUniqueNumber =>
37                  label is _('hrEduOrgUniqueNumber'),                  label is _('hrEduOrgUniqueNumber'),
38                    is indexed,
39                  is mandatory;                  is mandatory;
40                    
41          column telephoneNumber =>          column telephoneNumber =>
42                  label is _('Broj telefona');                  label is _('Broj telefona');
43    
44            column facsimileTelephoneNumber =>
45                    label is _('fax number');
46    
47            column cn =>
48                    label is _('cn'),
49                    is indexed;
50            
51            column dc =>
52                    label is _('dc'),
53                    is indexed;
54    
55            column uidNumber =>
56                    type is 'int',
57                    label is _('uid number');
58            
59            column gidNumber =>
60                    type is 'int',
61                    label is _('gid number');
62    
63            column homeDirectory =>
64                    label is _('home directory');
65    
66            column 'loginShell';
67    
68            column 'hrEduOrgMail';
69    
70            column 'hrEduOrgType';
71    
72            column 'hrEduOrgURL';
73    
74            column 'hrEduOrgPolicyURI';
75    
76            column 'hrEduOrgMobile';
77    
78            column 'hrEduOrgMember';
79    
80  };  };
81    
82  # Your model-specific methods go here.  # Your model-specific methods go here.
83    
84    =head2 name
85    
86    Humanly readable name of organization
87    
88    =cut
89    
90    sub name {
91            my $self = shift;
92            return $self->__value('cn');
93    }
94    
95  1;  1;
96    

Legend:
Removed from v.42  
changed lines
  Added in v.45

  ViewVC Help
Powered by ViewVC 1.1.26