You are here

function _wsclient_ui_header_row in Web service client 7

Generates a row in the header table.

1 call to _wsclient_ui_header_row()
wsclient_ui_operation in wsclient_ui/wsclient_ui.inc
Operation form.

File

wsclient_ui/wsclient_ui.inc, line 759
WSClient UI - implements service description management and configuration screens.

Code

function _wsclient_ui_header_row($info = array()) {
  $parameter['namespace'] = array(
    '#type' => 'textfield',
    '#size' => 40,
    '#default_value' => isset($info['namespace']) ? $info['namespace'] : '',
  );
  $parameter['name'] = array(
    '#type' => 'textfield',
    '#size' => 10,
    '#default_value' => isset($info['name']) ? $info['name'] : '',
  );
  $parameter['data'] = array(
    '#type' => 'textfield',
    '#size' => 40,
    '#default_value' => isset($info['data']) ? $info['data'] : '',
  );
  $parameter['mustunderstand'] = array(
    '#type' => 'checkbox',
    '#default_value' => isset($info['mustunderstand']) ? $info['mustunderstand'] : FALSE,
  );
  $parameter['actor'] = array(
    '#type' => 'textfield',
    '#size' => 10,
    '#default_value' => isset($info['actor']) ? $info['actor'] : '',
  );
  $parameter['weight'] = array(
    '#type' => 'weight',
  );
  return $parameter;
}