Changeset 375 for LATMOS-Accounts
- Timestamp:
- 08/20/09 17:30:14 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Objects.pm
r354 r375 198 198 }; 199 199 $return 200 } 201 202 =head2 get_attributes($attr) 203 204 Like get_c_field but always return an array 205 206 =cut 207 208 sub get_attributes { 209 my ($self, $cfield) = @_; 210 my $res = $self->get_c_field($cfield); 211 return ref $res ? @{ $res } : ($res); 200 212 } 201 213
Note: See TracChangeset
for help on using the changeset viewer.