Bioghist initialize

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Current revision (12:00, 29 July 2008) (edit) (undo)
 
Line 2: Line 2:
-
Excerpt from DemofaFC::_initialize showing the change to the tocheads hash
+
Excerpt from DemofaFC::_initialize showing the change to the tocheads hash.  Note that the label we put in for bioghist-t is now the default when there is no <head> in the bioghist.
 +
 
<pre>
<pre>
     $self->SetSelfKeyInfo( 'tocheads' =>
     $self->SetSelfKeyInfo( 'tocheads' =>

Current revision

Back to Changing the Bioghist labels


Excerpt from DemofaFC::_initialize showing the change to the tocheads hash. Note that the label we put in for bioghist-t is now the default when there is no <head> in the bioghist.

    $self->SetSelfKeyInfo( 'tocheads' =>
                           {
                           #  'bioghist-t'      =>  {
                           #                         'collection' => qq{Biography},
                           #                         'recordgrp' => qq{History},
                           #                        },
                           # This provides a default heading if there is no <head> element in the <bioghist>
                           # it replaces the Bentley-specific code above.
                           # Note that we also must change sub GetBioghistTocHead below so it doesn't use or expect the values above.
                            'bioghist-t'      => qq{Biographical/Historical Note },
Personal tools