dolibarr 20.0.0
|
This file is a library for Ticket module. More...
Go to the source code of this file.
Functions | |
ticketAdminPrepareHead () | |
Build tabs for admin page. | |
ticket_prepare_head ($object) | |
Build tabs for a Ticket object. | |
showDirectPublicLink ($object) | |
Return string with full Url. | |
generate_random_id ($car=16) | |
Generate a random id. | |
llxHeaderTicket ($title, $head="", $disablejs=0, $disablehead=0, $arrayofjs=[], $arrayofcss=[]) | |
Show http header, open body tag and show HTML header banner for public pages for tickets. | |
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 207 of file ticket.lib.php.
Referenced by Ticket\create(), and Tickets\post().
llxHeaderTicket | ( | $title, | |
$head = "", | |||
$disablejs = 0, | |||
$disablehead = 0, | |||
$arrayofjs = [], | |||
$arrayofcss = [] ) |
Show http header, open body tag and show HTML header banner for public pages for tickets.
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 229 of file ticket.lib.php.
References dol_buildpath(), getDolGlobalInt(), getDolGlobalString(), and top_htmlhead().
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 170 of file ticket.lib.php.
References $object, ajax_autoselect(), dol_buildpath(), getDolGlobalInt(), getDolGlobalString(), CMailFile\getValidAddress(), and img_picto().
ticket_prepare_head | ( | $object | ) |
Build tabs for a Ticket object.
Definition at line 84 of file ticket.lib.php.
References $object, complete_head_from_modules(), dol_dir_list(), and getDolGlobalInt().
ticketAdminPrepareHead | ( | ) |
Build tabs for admin page.
Definition at line 32 of file ticket.lib.php.
References complete_head_from_modules().