~slub.team/goobi-presentation/1.0

« back to all changes in this revision

Viewing changes to dlf/common/class.tx_dlf_document.php

  • Committer: Sebastian Meyer
  • Date: 2011-06-25 12:55:41 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20110625125541-fvinsp5e6py8ocgr
Add volume handling not only for toplevel structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
 
403
403
                        $_details['volume'] = '';
404
404
 
 
405
                        if (empty($_details['label'])) {
 
406
 
 
407
                                $_metadata = $this->getMetadata($id);
 
408
 
 
409
                                if (!empty($_metadata['volume'][0])) {
 
410
 
 
411
                                        $_details['volume'] = $_metadata['volume'][0];
 
412
 
 
413
                                }
 
414
 
 
415
                        }
 
416
 
405
417
                        $_details['pagination'] = '';
406
418
 
407
419
                        $_details['type'] = (string) $_struct['TYPE'];