dolibarr
16.0.5
|
This file is a library for Ticket module. More...
Go to the source code of this file.
Functions | |
ticketAdminPrepareHead () | |
Build tabs for admin page. More... | |
ticket_prepare_head ($object) | |
Build tabs for a Ticket object. More... | |
showDirectPublicLink ($object) | |
Return string with full Url. More... | |
generate_random_id ($car=16) | |
Generate a random id. More... | |
llxHeaderTicket ($title, $head="", $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='') | |
Show header for public pages. More... | |
show_ticket_messaging ($conf, $langs, $db, $filterobj, $objcon='', $noprint=0, $actioncode='', $donetodo='done', $filters=array(), $sortfield='a.datep, a.id', $sortorder='DESC') | |
Show html area with actions for ticket messaging. More... | |
getTicketTimelineIcon ($actionstatic, &$histo, $key) | |
Get timeline icon. More... | |
getTicketActionCommEcmList ($object) | |
getTicketActionCommEcmList More... | |
This file is a library for Ticket module.
Definition in file ticket.lib.php.
generate_random_id | ( | $car = 16 | ) |
Generate a random id.
int | $car | Length of string to generate key |
Definition at line 184 of file ticket.lib.php.
getTicketActionCommEcmList | ( | $object | ) |
getTicketActionCommEcmList
ActionComm | $object | Object ActionComm |
Definition at line 953 of file ticket.lib.php.
getTicketTimelineIcon | ( | $actionstatic, | |
& | $histo, | ||
$key | |||
) |
Get timeline icon.
ActionComm | $actionstatic | actioncomm |
array | $histo | histo |
int | $key | key |
Definition at line 890 of file ticket.lib.php.
llxHeaderTicket | ( | $title, | |
$head = "" , |
|||
$disablejs = 0 , |
|||
$disablehead = 0 , |
|||
$arrayofjs = '' , |
|||
$arrayofcss = '' |
|||
) |
Show header for public pages.
string | $title | Title |
string | $head | Head array |
int | $disablejs | More content into html header |
int | $disablehead | More content into html header |
array | $arrayofjs | Array of complementary js files |
array | $arrayofcss | Array of complementary css files |
Definition at line 206 of file ticket.lib.php.
show_ticket_messaging | ( | $conf, | |
$langs, | |||
$db, | |||
$filterobj, | |||
$objcon = '' , |
|||
$noprint = 0 , |
|||
$actioncode = '' , |
|||
$donetodo = 'done' , |
|||
$filters = array() , |
|||
$sortfield = 'a.datep , |
|||
a.id' | , | ||
$sortorder = 'DESC' |
|||
) |
Show html area with actions for ticket messaging.
Note: Global parameter $param must be defined.
Conf | $conf | Object conf |
Translate | $langs | Object langs |
DoliDB | $db | Object db |
mixed | $filterobj | Filter on object Adherent|Societe|Project|Product|CommandeFournisseur|Dolresource|Ticket|... to list events linked to an object |
Contact | $objcon | Filter on object contact to filter events on a contact |
int | $noprint | Return string but does not output it |
string | $actioncode | Filter on actioncode |
string | $donetodo | Filter on event 'done' or 'todo' or ''=nofilter (all). |
array | $filters | Filter on other fields |
string | $sortfield | Sort field |
string | $sortorder | Sort order |
Definition at line 281 of file ticket.lib.php.
showDirectPublicLink | ( | $object | ) |
Return string with full Url.
The file qualified is the one defined by relative path in $object->last_main_doc
Object | $object | Object |
Definition at line 147 of file ticket.lib.php.
ticket_prepare_head | ( | $object | ) |
Build tabs for a Ticket object.
Definition at line 76 of file ticket.lib.php.
ticketAdminPrepareHead | ( | ) |