mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-19 07:51:29 +01:00
Exclude phan error type that is for the moment too annoying to manage
This commit is contained in:
@@ -12012,14 +12012,14 @@ function dolGetBadge($label, $html = '', $type = 'primary', $mode = '', $url = '
|
||||
/**
|
||||
* Output the badge of a status.
|
||||
*
|
||||
* @param string $statusLabel Label of badge no html : use in alt attribute for accessibility
|
||||
* @param string $statusLabelShort Short label of badge no html
|
||||
* @param string $html Optional : label of badge with html
|
||||
* @param string $statusType status0 status1 status2 status3 status4 status5 status6 status7 status8 status9 : image name or badge name
|
||||
* @param int<0,6> $displayMode 0=Long label, 1=Short label, 2=Picto + Short label, 3=Picto, 4=Picto + Long label, 5=Short label + Picto, 6=Long label + Picto
|
||||
* @param string $url The url for link
|
||||
* @param array<string,mixed> $params Various params. Example: array('tooltip'=>'no|...', 'badgeParams'=>...)
|
||||
* @return string Html status string
|
||||
* @param string $statusLabel Label of badge no html : use in alt attribute for accessibility
|
||||
* @param string $statusLabelShort Short label of badge no html
|
||||
* @param string $html Optional : label of badge with html
|
||||
* @param string $statusType status0 status1 status2 status3 status4 status5 status6 status7 status8 status9 : image name or badge name
|
||||
* @param int<0,6> $displayMode 0=Long label, 1=Short label, 2=Picto + Short label, 3=Picto, 4=Picto + Long label, 5=Short label + Picto, 6=Long label + Picto
|
||||
* @param string $url The url for link
|
||||
* @param array<string,mixed> $params Various params. Example: array('tooltip'=>'no|...', 'badgeParams'=>...)
|
||||
* @return string Html status string
|
||||
*/
|
||||
function dolGetStatus($statusLabel = '', $statusLabelShort = '', $html = '', $statusType = 'status0', $displayMode = 0, $url = '', $params = array())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user