1 | <?php |
||||||||||
2 | |||||||||||
3 | /** |
||||||||||
4 | * Class ModelePDFPropales |
||||||||||
5 | * |
||||||||||
6 | * This class is used by subtotal to access CommonDocGenerator method without real model |
||||||||||
7 | * |
||||||||||
8 | */ |
||||||||||
9 | class ModelePDFStatic extends CommonDocGenerator{ |
||||||||||
10 | |||||||||||
11 | |||||||||||
12 | /** |
||||||||||
13 | * Define Array Column Field |
||||||||||
14 | * |
||||||||||
15 | * @param object $object common object |
||||||||||
16 | * @param Translate $outputlangs langs |
||||||||||
17 | * @param int $hidedetails Do not show line details |
||||||||||
18 | * @param int $hidedesc Do not show desc |
||||||||||
19 | * @param int $hideref Do not show ref |
||||||||||
20 | * @return null |
||||||||||
21 | */ |
||||||||||
22 | public function defineColumnField($object, $outputlangs, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
||||||||||
0 ignored issues
–
show
The parameter
$outputlangs is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$object is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$hidedesc is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$hidedetails is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||
23 | { |
||||||||||
24 | // Default field style for content |
||||||||||
25 | $this->defaultContentsFieldsStyle = array( |
||||||||||
0 ignored issues
–
show
|
|||||||||||
26 | 'align' => 'R', // R,C,L |
||||||||||
27 | 'padding' => array(1, 0.5, 1, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left |
||||||||||
28 | ); |
||||||||||
29 | |||||||||||
30 | // Default field style for content |
||||||||||
31 | $this->defaultTitlesFieldsStyle = array( |
||||||||||
0 ignored issues
–
show
|
|||||||||||
32 | 'align' => 'C', // R,C,L |
||||||||||
33 | 'padding' => array(0.5, 0, 0.5, 0), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left |
||||||||||
34 | ); |
||||||||||
35 | } |
||||||||||
36 | } |
||||||||||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.