Changeset 857
- Timestamp:
- 04/04/10 19:39:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Attributes.pm
r852 r857 39 39 sub otype { $_[0]->{_otype} } 40 40 41 =head2 42 43 Return internal name of attributes 44 45 =cut 46 47 sub iname { $_[0]->{iname} || $_[0]->name } 48 41 49 sub label { $_[0]->{label} || $_[0]->{_name} } 42 50 … … 58 66 } 59 67 60 sub ro { 68 sub ro { $_[0]->{ro} || 0 } 69 70 sub readonly { 61 71 my ($self) = @_; 62 return 1 if ($self-> {ro});72 return 1 if ($self->ro); 63 73 64 74 return ! $self->base->check_acl($self->object
Note: See TracChangeset
for help on using the changeset viewer.