@@ -23,6 +23,9 @@ |
||
23 | 23 | $this->copiaManuale($input); |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param InputInterface $input |
|
28 | + */ |
|
26 | 29 | protected function copiaManuale($input) |
27 | 30 | { |
28 | 31 | $filesystem = $this->getContainer()->get('filesystem'); |
@@ -38,6 +38,9 @@ |
||
38 | 38 | return $response; |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param Request $request |
|
43 | + */ |
|
41 | 44 | public function prepareOutput($request) |
42 | 45 | { |
43 | 46 | $namespace = $this->getNamespace(); |
@@ -51,7 +51,6 @@ discard block |
||
51 | 51 | |
52 | 52 | /** |
53 | 53 | * @param array $parametri |
54 | - * @param string $parametri["tipo"] |
|
55 | 54 | * |
56 | 55 | * @return Array("segnouno"=>"xx", "segnodue"=>"yy") dove segnodue non obbligatorio |
57 | 56 | */ |
@@ -116,6 +115,12 @@ discard block |
||
116 | 115 | return $formattata; |
117 | 116 | } |
118 | 117 | |
118 | + /** |
|
119 | + * @param string $aaaa |
|
120 | + * @param string $mm |
|
121 | + * @param string $gg |
|
122 | + * @param boolean $senzalinea |
|
123 | + */ |
|
119 | 124 | private static function getDataFormattata($aaaa, $mm, $gg, $senzalinea) |
120 | 125 | { |
121 | 126 | $separatore = ($senzalinea ? '' : '-'); |
@@ -160,10 +165,6 @@ discard block |
||
160 | 165 | |
161 | 166 | /** |
162 | 167 | * @param array $parametri |
163 | - * @param string $parametri["nomecodice"] default = "codice" |
|
164 | - * @param string $parametri["nomedescrizione"] default = "descrizione" |
|
165 | - * @param array $parametri["elementi"] Array([0]=>("codice"=>1, "descrizione"=>"blaa"), [1]=>...) |
|
166 | - * @param string $parametri["selezionato"] opzionale |
|
167 | 168 | * |
168 | 169 | * @return string |
169 | 170 | */ |
@@ -8,6 +8,9 @@ discard block |
||
8 | 8 | class StampatabellaController extends FiCoreController |
9 | 9 | { |
10 | 10 | |
11 | + /** |
|
12 | + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container |
|
13 | + */ |
|
11 | 14 | public function __construct($container = null) |
12 | 15 | { |
13 | 16 | if ($container) { |
@@ -181,6 +184,9 @@ discard block |
||
181 | 184 | return $filename; |
182 | 185 | } |
183 | 186 | |
187 | + /** |
|
188 | + * @param \PHPExcel_Worksheet $sheet |
|
189 | + */ |
|
184 | 190 | private function printHeaderXls($modellicolonne, $testata, $sheet) |
185 | 191 | { |
186 | 192 | $indicecolonnaheader = 0; |
@@ -237,6 +243,9 @@ discard block |
||
237 | 243 | return $valore; |
238 | 244 | } |
239 | 245 | |
246 | + /** |
|
247 | + * @param \PHPExcel_Worksheet $sheet |
|
248 | + */ |
|
240 | 249 | private function printBodyXls($righe, $modellicolonne, $sheet) |
241 | 250 | { |
242 | 251 | $row = 2; |
@@ -306,6 +315,13 @@ discard block |
||
306 | 315 | } |
307 | 316 | } |
308 | 317 | |
318 | + /** |
|
319 | + * @param integer $larghezzaform |
|
320 | + * @param integer $h |
|
321 | + * @param integer $border |
|
322 | + * @param string $align |
|
323 | + * @param integer $ln |
|
324 | + */ |
|
309 | 325 | private function stampaTestata($pdf, $nomicolonne, $modellicolonne, $larghezzaform, $h, $border, $align, $fill, $ln) |
310 | 326 | { |
311 | 327 | // Testata |
@@ -41,6 +41,7 @@ |
||
41 | 41 | * @param $elem Oggetto da cercare |
42 | 42 | * @param $array Array nel quale cercare |
43 | 43 | * @param $key Nome della chiave nella quale cercare $elem |
44 | + * @param boolean $debug |
|
44 | 45 | * @return Mixed False se non trovato l'elemento, altrimenti il vettore con tutti gli indici |
45 | 46 | */ |
46 | 47 | public static function inMultiarrayTutti($elem, $array, $key, $debug) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Fi\CoreBundle\DependencyInjection; |
4 | 4 | |
5 | -use Fi\CoreBundle\Controller\GestionepermessiController; |
|
6 | 5 | use Fi\CoreBundle\Controller\FiUtilita; |
7 | 6 | |
8 | 7 | class GrigliaRegoleUtils |
@@ -81,7 +81,7 @@ |
||
81 | 81 | /** |
82 | 82 | * Remove ffsecondarias. |
83 | 83 | * |
84 | - * @param \Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias |
|
84 | + * @param \Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias |
|
85 | 85 | */ |
86 | 86 | public function removeFfsecondaria(\Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias) |
87 | 87 | { |
@@ -48,6 +48,9 @@ |
||
48 | 48 | $em->clear(); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @return string |
|
53 | + */ |
|
51 | 54 | private function getValoreprecedenteImpostare($change) |
52 | 55 | { |
53 | 56 | if (is_object($change)) { |
@@ -63,6 +63,9 @@ |
||
63 | 63 | /* phpmd */ |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $cmd |
|
68 | + */ |
|
66 | 69 | private function runcmd($cmd) |
67 | 70 | { |
68 | 71 | $process = new Process($cmd); |