dolibarr
16.0.4
|
Public Member Functions | |
__construct ($db) | |
Constructor. More... | |
showForm ($withdolfichehead=0, $mode='edit', $public=0, Contact $with_contact=null, $action='') | |
Show the form to input ticket. More... | |
selectTypesTickets ($selected='', $htmlname='tickettype', $filtertype='', $format=0, $empty=0, $noadmininfo=0, $maxlength=0, $morecss='') | |
Return html list of tickets type. More... | |
selectGroupTickets ($selected='', $htmlname='ticketcategory', $filtertype='', $format=0, $empty=0, $noadmininfo=0, $maxlength=0, $morecss='', $use_multilevel=0, $outputlangs=null) | |
Return html list of ticket anaytic codes. More... | |
selectSeveritiesTickets ($selected='', $htmlname='ticketseverity', $filtertype='', $format=0, $empty=0, $noadmininfo=0, $maxlength=0, $morecss='') | |
Return html list of ticket severitys. More... | |
clear_attached_files () | |
Clear list of attached files in send mail form (also stored in session) More... | |
showMessageForm ($width='40%') | |
Show the form to add message on ticket. More... | |
Definition at line 43 of file html.formticket.class.php.
FormTicket::__construct | ( | $db | ) |
Constructor.
Definition at line 116 of file html.formticket.class.php.
FormTicket::clear_attached_files | ( | ) |
Clear list of attached files in send mail form (also stored in session)
Definition at line 1215 of file html.formticket.class.php.
FormTicket::selectGroupTickets | ( | $selected = '' , |
|
$htmlname = 'ticketcategory' , |
|||
$filtertype = '' , |
|||
$format = 0 , |
|||
$empty = 0 , |
|||
$noadmininfo = 0 , |
|||
$maxlength = 0 , |
|||
$morecss = '' , |
|||
$use_multilevel = 0 , |
|||
$outputlangs = null |
|||
) |
Return html list of ticket anaytic codes.
string | $selected | Id categorie pre-selectionnée |
string | $htmlname | Name of select component |
string | $filtertype | To filter on some properties in llx_c_ticket_category ('public = 1'). This parameter must not come from input of users. |
int | $format | 0=id+libelle, 1=code+code, 2=code+libelle, 3=id+code |
int | $empty | 1=peut etre vide, 0 sinon |
int | $noadmininfo | 0=Add admin info, 1=Disable admin info |
int | $maxlength | Max length of label |
string | $morecss | More CSS |
int | $use_multilevel | If > 0 create a multilevel select which use $htmlname example: $use_multilevel = 1 permit to have 2 select boxes. |
Translate | $outputlangs | Output lnaguage |
Definition at line 780 of file html.formticket.class.php.
FormTicket::selectSeveritiesTickets | ( | $selected = '' , |
|
$htmlname = 'ticketseverity' , |
|||
$filtertype = '' , |
|||
$format = 0 , |
|||
$empty = 0 , |
|||
$noadmininfo = 0 , |
|||
$maxlength = 0 , |
|||
$morecss = '' |
|||
) |
Return html list of ticket severitys.
string | $selected | Id severity pre-selectionnée |
string | $htmlname | Nom de la zone select |
string | $filtertype | To filter on field type in llx_c_ticket_severity (array('code'=>xx,'label'=>zz)) |
int | $format | 0=id+libelle, 1=code+code, 2=code+libelle, 3=id+code |
int | $empty | 1=peut etre vide, 0 sinon |
int | $noadmininfo | 0=Add admin info, 1=Disable admin info |
int | $maxlength | Max length of label |
string | $morecss | More CSS |
Definition at line 1122 of file html.formticket.class.php.
FormTicket::selectTypesTickets | ( | $selected = '' , |
|
$htmlname = 'tickettype' , |
|||
$filtertype = '' , |
|||
$format = 0 , |
|||
$empty = 0 , |
|||
$noadmininfo = 0 , |
|||
$maxlength = 0 , |
|||
$morecss = '' |
|||
) |
Return html list of tickets type.
string | $selected | Id du type pre-selectionne |
string | $htmlname | Nom de la zone select |
string | $filtertype | To filter on field type in llx_c_ticket_type (array('code'=>xx,'label'=>zz)) |
int | $format | 0=id+libelle, 1=code+code, 2=code+libelle, 3=id+code |
int | $empty | 1=peut etre vide, 0 sinon |
int | $noadmininfo | 0=Add admin info, 1=Disable admin info |
int | $maxlength | Max length of label |
string | $morecss | More CSS |
Definition at line 683 of file html.formticket.class.php.
FormTicket::showForm | ( | $withdolfichehead = 0 , |
|
$mode = 'edit' , |
|||
$public = 0 , |
|||
Contact | $with_contact = null , |
||
$action = '' |
|||
) |
Show the form to input ticket.
int | $withdolfichehead | With dol_get_fiche_head() and dol_get_fiche_end() |
string | $mode | Mode ('create' or 'edit') |
int | $public | 1=If we show the form for the public interface |
Contact | null | $with_contact | [=NULL] Contact to link to this ticket if exists |
string | $action | [=''] Action in card |
Definition at line 148 of file html.formticket.class.php.
FormTicket::showMessageForm | ( | $width = '40%' | ) |
Show the form to add message on ticket.
string | $width | Width of form |
Definition at line 1240 of file html.formticket.class.php.