Sf spanmatrix

From ARK
Jump to: navigation, search

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(
		)
	);