- Timestamp:
- 10/05/09 16:30:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Ajax.pm
r451 r500 56 56 } 57 57 58 sub objexist : Local { 59 my ($self, $c, $otype) = @_; 60 my $base = $c->model('Accounts')->db; 61 my $val = $c->req->param('val'); 62 my $obj = $base->get_object($otype, $val); 63 64 $c->stash->{'exists'} = join(', ', $obj->get_attributes($c->req->param('attr') || 65 'displayName')) if($obj); 66 } 67 58 68 sub objattrexist : Local { 59 69 my ($self, $c, $otype, $attr) = @_;
Note: See TracChangeset
for help on using the changeset viewer.