Difference between revisions of "Sf spanmatrix"

From ARK
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
===Additional Fields===
 
===Additional Fields===
The sf_spanmatrix does not require any additional fields.
+
*'''op_fancylabels''' - fancy labels for a span or not (off or on)
 +
*'''op_fancylabel_dir''' - direction of the span (topdown or centric)
 +
*'''op_spantype''' - name of the spantype (table: cor_lut_spantype, field: spantype)
  
 
===Example Configuration===
 
===Example Configuration===
Line 24: Line 26:
 
);
 
);
 
</pre>
 
</pre>
 +
 +
[[category:Administrator]]

Latest revision as of 11:33, 14 November 2008

Description

The sf_spanmatrix handles span relationships that are displayed within a matrix. The span types will need to be defined within cor_lut_spantype as temporal vectors (tvector).

Additional Fields

  • op_fancylabels - fancy labels for a span or not (off or on)
  • op_fancylabel_dir - direction of the span (topdown or centric)
  • op_spantype - name of the spantype (table: cor_lut_spantype, field: spantype)

Example Configuration

$conf_mcd_matrix = 
    array(
        'view_state' => 'max',
        'edit_state' => 'view',
        'sf_title' => 'matrix',
        'sf_nav_type' => 'full',
        'sf_html_id' => 'cxt_matrix', // Must be unique
        'script' => 'php/subforms/sf_spanmatrix.php',
        'op_fancylabels' => 'off',
        'op_fancylabel_dir' => 'topdown',
        'op_label' => 'space',
        'op_input' => 'plus_sign',
        'op_spantype' => 'tvector',
        'fields' => array(
		)
	);