Difference between revisions of "Sf span rel"

From ARK
Jump to: navigation, search
 
Line 22: Line 22:
 
       );
 
       );
 
</pre>
 
</pre>
 +
 +
[[category:Administrator]]

Latest revision as of 11:18, 14 November 2008

Description

The sf_span_rel is for adding span types that do not appear in the spanmatrix. Relationships such as 'Same As', 'Bonds With', 'Comparanda', etc are usually configured using the sf_span_rel. Each span type will need to be defined within cor_lut_spantype.

Additional Fields

The sf_span_rel does not require any additional fields.

Example Configuration

$conf_mcd_span_rels = 
   array(
       'view_state' => 'max',
       'edit_state' => 'edit',
       'sf_title' => 'othermatrix',
       'sf_html_id' => 'cxt_other_matrix',
       'sf_nav_type' => 'full',
       'script' => 'php/subforms/sf_span_rel.php',
       'op_label' => 'space',
       'op_input' => 'plus_sign',
       'fields' => array(
           $conf_field_sameas
	   )
       );