Class: cfield_mgr
Source Location: /cfield_mgr.class.php
Class cfield_mgr
Descendants
| exec_cfield_mgr |
TestLink Open Source Project - http://testlink.sourceforge.net/
|
Method Summary
| void |
exportValueAsXML() |
exportValueAsXML generate XML with custom field name, and custom field value useful on export to XML method for items that can have custom fields, example: test cases, test suites, req specification, etc. |
Properties
Redefined in descendants as:
Methods
cfield_mgr cfield_mgr(
&$db
)
|
|
Parameters:
void build_cfield_radio(
$custom_field_value
)
|
|
Parameters:
void design_values_to_db(
$hash,
$node_id, [
$cf_map = null], [
$hash_type = null]
)
|
|
Parameters:
|
|
$hash: |
|
|
|
$node_id: |
|
|
|
$cf_map: |
|
|
|
$hash_type: |
|
void execution_values_to_db(
$hash,
$node_id,
$execution_id,
$testplan_id, [
$cf_map = null]
)
|
|
Parameters:
|
|
$hash: |
|
|
|
$node_id: |
|
|
|
$execution_id: |
|
|
|
$testplan_id: |
|
|
|
$cf_map: |
|
void exportValueAsXML(
$cfMap, map
$cfMap:
)
|
|
exportValueAsXML generate XML with custom field name, and custom field value useful on export to XML method for items that can have custom fields, example: test cases, test suites, req specification, etc.
Parameters:
|
map |
$cfMap:: |
key: custom file ID, value: map with at least keys 'name', 'value' |
|
|
$cfMap: |
|
void getXMLServerParams(
$node_id
)
|
|
function: getXMLServerParams
Parameters:
void get_all(
[
$id2exclude = null]
)
|
|
Parameters:
void get_allowed_nodes(
)
|
|
void get_application_areas(
)
|
|
void get_available_item_type(
$id
)
|
|
Parameters:
void get_available_types(
)
|
|
void get_by_name(
$name
)
|
|
Parameters:
void get_enable_on_cfg(
$ui_mode
)
|
|
Parameters:
void get_linked_cfields_at_design(
$tproject_id,
$enabled, [
$filters = null], [
$node_type = null], [
$node_id = null], [
$access_key = 'id']
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$enabled: |
|
|
|
$filters: |
|
|
|
$node_type: |
|
|
|
$node_id: |
|
|
|
$access_key: |
|
void get_linked_cfields_at_execution(
$tproject_id,
$enabled, [
$node_type = null], [
$node_id = null], [
$execution_id = null], [
$testplan_id = null], [
$access_key = 'id']
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$enabled: |
|
|
|
$node_type: |
|
|
|
$node_id: |
|
|
|
$execution_id: |
|
|
|
$testplan_id: |
|
|
|
$access_key: |
|
void get_linked_cfields_at_testplan_design(
$tproject_id,
$enabled, [
$node_type = null], [
$node_id = null], [
$link_id = null], [
$testplan_id = null]
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$enabled: |
|
|
|
$node_type: |
|
|
|
$node_id: |
|
|
|
$link_id: |
|
|
|
$testplan_id: |
|
void get_linked_to_testproject(
$tproject_id, [
$active = null]
)
|
|
Parameters:
void get_possible_values_cfg(
)
|
|
void get_show_on_cfg(
$ui_mode
)
|
|
Parameters:
void helper_get_tab_index(
)
|
|
void helper_get_tab_index_value(
)
|
|
void link_to_testproject(
$tproject_id,
$cfield_ids
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$cfield_ids: |
|
void name_is_unique(
$id,
$name
)
|
|
Parameters:
void remove_all_design_values_from_node(
$node_id
)
|
|
Parameters:
void set_active_for_testproject(
$tproject_id,
$cfield_ids,
$active_val
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$cfield_ids: |
|
|
|
$active_val: |
|
void set_display_order(
$tproject_id,
$map_field_id_display_order
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$map_field_id_display_order: |
|
void string_custom_field_input(
$p_field_def, [
$name_suffix = ''], [
$field_size = 0]
)
|
|
Parameters:
|
|
$p_field_def: |
|
|
|
$name_suffix: |
|
|
|
$field_size: |
|
void string_custom_field_value(
$p_field_def,
$p_node_id, [
$p_value_field = 'value']
)
|
|
Parameters:
|
|
$p_field_def: |
|
|
|
$p_node_id: |
|
|
|
$p_value_field: |
|
void string_input_radio(
$p_field_def,
$p_input_name,
$p_custom_field_value
)
|
|
Parameters:
|
|
$p_field_def: |
|
|
|
$p_input_name: |
|
|
|
$p_custom_field_value: |
|
void string_input_string(
$p_field_def,
$p_input_name,
$p_custom_field_value,
$p_size
)
|
|
Parameters:
|
|
$p_field_def: |
|
|
|
$p_input_name: |
|
|
|
$p_custom_field_value: |
|
|
|
$p_size: |
|
void testplan_design_values_to_db(
$hash,
$node_id,
$link_id, [
$cf_map = null], [
$hash_type = null]
)
|
|
Parameters:
|
|
$hash: |
|
|
|
$node_id: |
|
|
|
$link_id: |
|
|
|
$cf_map: |
|
|
|
$hash_type: |
|
void unlink_from_testproject(
$tproject_id,
$cfield_ids
)
|
|
Parameters:
|
|
$tproject_id: |
|
|
|
$cfield_ids: |
|
void _build_cfield(
$hash,
$cf_map
)
|
|
Parameters:
void _get_ui_mgtm_cfg_for_node_type(
$map_node_id_cfg
)
|
|
Parameters:
|
|