36require_once NOALYSS_INCLUDE.
'/database/tag_group_sql.class.php';
43 parent::__construct($p_obj);
56 echo
'<div id="d_tag_group_add">';
70 $aTag=
$cn->get_array(
"select jt_id,t_tag
71 from tags join jnt_tag_group_tag on (tag_id=t_id)
72 where tag_group_id=$1 order by 2", [$data_sql->tg_id]);
74 if ( $data_sql->tg_id == -1){
77 echo
'<ol id="ol_tag_group">';
91 $select->value=
$cn->make_array(
"select t_id,t_tag
94 t_id not in (select tag_id from jnt_tag_group_tag
95 where tag_group_id=$1 ) order by 2", 0,[$data_sql->tg_id]);
98 sprintf(
"onclick=\"o_tagGroup.add_tag('%s','%s','%s'); \"", $data_sql->tg_id,
$select->id,
$dossier_id));
static id()
return the 'gDossier' value after a check
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static trash($p_id, $p_javascript)
Display the icon of a trashbin.
Purpose is to propose a librairy to display a table content and allow to update and delete row ,...
set_property_updatable($p_key, $p_value)
set a column of the data row updatable or not
set_property_visible($p_key, $p_value)
set a column of the data row visible or not
set_col_label($p_key, $p_display)
set the name to display for a column
__construct(Tag_Group_SQL $p_obj)
input()
display into a dialog box the datarow in order to be appended or modified.
input_tag()
Display a select widget for adding new tag.