Changeset 857


Ignore:
Timestamp:
04/04/10 19:39:34 (14 years ago)
Author:
nanardon
Message:
  • _get_attr_schema must return all attributes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Attributes.pm

    r852 r857  
    3939sub otype { $_[0]->{_otype} } 
    4040 
     41=head2 
     42 
     43Return internal name of attributes 
     44 
     45=cut 
     46 
     47sub iname { $_[0]->{iname} || $_[0]->name } 
     48 
    4149sub label { $_[0]->{label} || $_[0]->{_name} } 
    4250 
     
    5866} 
    5967 
    60 sub ro {  
     68sub ro { $_[0]->{ro} || 0 } 
     69 
     70sub readonly {  
    6171    my ($self) = @_; 
    62     return 1 if ($self->{ro}); 
     72    return 1 if ($self->ro); 
    6373     
    6474    return ! $self->base->check_acl($self->object 
Note: See TracChangeset for help on using the changeset viewer.