36 throw new Exception(sprintf(
"Family %s not found", $famName));
40 $s->setObjectReturn();
43 while (
$doc =
$s->getNextDoc()) {
84 "$ct, $ct_r1, $s_text",
85 "$ct, $ct_r1, $s_text"
94 "$s_text, $ct, $ct_r1",
95 "$s_text, $ct, $ct_r1"
102 $expectedValue =
getParam($paramName);
105 ($paramValue == $expectedValue) ?
'OK' : sprintf(
"Got '%s' instead of '%s' for notation '{%s}'.", $paramValue, $expectedValue, $paramName)
PU_data_dcp_autocompletion_relation_2($ct_r1, $ct, $s_text)
PU_data_dcp_autocompletion_getTitle_fam_title($dbaccess, $famId, $title)
PU_data_dcp_autocompletion_relation_3($s_text, $ct, $ct_r1)
PU_data_dcp_autocompletion_bug_2108_ok($text, $ct)
PU_data_dcp_autocompletion_bug_2108($ct, $text)
getParam($name, $def="")
must be in core or global type
PU_data_dcp_autocompletion_getGravite()
PU_data_dcp_autocompletion_getTitle_reverse_fam_title($title, $famId, $dbaccess)
PU_data_dcp_autocompletion_defaultphpfunc($dbaccess, $ct, $relation_1, $relation_2, $relation_3)
getIdFromName($dbaccess, $name)
PU_data_dcp_autocompletion_getTitle_title($dbaccess, $title)
PU_data_dcp_autocompletion_global_param($paramName, $paramValue)