mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Added the possibility to add additional CSS to label.
This commit is contained in:
parent
8b372a3443
commit
fde1d7be4f
6 changed files with 116 additions and 23 deletions
|
@ -195,6 +195,46 @@ class LabelOptions
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets additional CSS (it will simply be attached
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditionalCss(): string
|
||||
{
|
||||
return $this->additional_css;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $additional_css
|
||||
* @return LabelOptions
|
||||
*/
|
||||
public function setAdditionalCss(string $additional_css): LabelOptions
|
||||
{
|
||||
$this->additional_css = $additional_css;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLinesMode(): string
|
||||
{
|
||||
return $this->lines_mode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $lines_mode
|
||||
* @return LabelOptions
|
||||
*/
|
||||
public function setLinesMode(string $lines_mode): LabelOptions
|
||||
{
|
||||
$this->lines_mode = $lines_mode;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue