| 
      
            Lines 30-35
          Koha::Biblioitem - Koha Biblioitem Object class
      
      
        Link Here
      
     | 
  
        
          | 30 | 
           | 
          30 | 
           | 
        
        
          | 31 | 
          =head2 Class methods  | 
          31 | 
          =head2 Class methods  | 
        
        
          | 32 | 
           | 
          32 | 
           | 
        
            
               | 
               | 
              33 | 
              =head3 public_read_list  | 
            
            
              | 34 | 
               | 
            
            
              | 35 | 
              This method returns the list of publicly readable database fields for both API and UI output purposes  | 
            
            
              | 36 | 
               | 
            
            
              | 37 | 
              =cut  | 
            
            
              | 38 | 
               | 
            
            
              | 39 | 
              sub public_read_list { | 
            
            
              | 40 | 
                  return [  | 
            
            
              | 41 | 
                      'volume',           'number',                'isbn',  | 
            
            
              | 42 | 
                      'issn',             'ean',                   'publicationyear',  | 
            
            
              | 43 | 
                      'publishercode',    'volumedate',            'columedesc',  | 
            
            
              | 44 | 
                      'collectiontitle',  'collectionissn',        'collectionvolume',  | 
            
            
              | 45 | 
                      'editionstatement', 'editionresponsibility', 'pages',  | 
            
            
              | 46 | 
                      'place',            'lccn',                  'url',  | 
            
            
              | 47 | 
                      'cn_source',        'cn_class',              'cn)item',  | 
            
            
              | 48 | 
                      'cn_suffix',        'cn_sort',               'agerestriction',  | 
            
            
              | 49 | 
                      'totalissues'  | 
            
            
              | 50 | 
                  ];  | 
            
            
              | 51 | 
              }  | 
            
            
              | 52 | 
               | 
            
        
          | 33 | 
          =head3 to_api_mapping  | 
          53 | 
          =head3 to_api_mapping  | 
        
        
          | 34 | 
           | 
          54 | 
           | 
        
        
          | 35 | 
          This method returns the mapping for representing a Koha::Biblioitem object  | 
          55 | 
          This method returns the mapping for representing a Koha::Biblioitem object  | 
        
  
    | 
      
            Lines 57-63
          sub to_api_mapping {
      
      
        Link Here
      
     | 
  
        
          | 57 | 
                  totalissues      => 'serial_total_issues',  | 
          77 | 
                  totalissues      => 'serial_total_issues',  | 
        
        
          | 58 | 
                  volumedate       => 'volume_date',  | 
          78 | 
                  volumedate       => 'volume_date',  | 
        
        
          | 59 | 
                  volumedesc       => 'volume_description',  | 
          79 | 
                  volumedesc       => 'volume_description',  | 
        
            
              | 60 | 
               | 
               | 
               | 
            
        
          | 61 | 
              };  | 
          80 | 
              };  | 
        
        
          | 62 | 
          }  | 
          81 | 
          }  | 
        
        
          | 63 | 
           | 
          82 | 
           | 
        
            
              | 64 | 
              -   | 
               | 
               |