Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11266 | Rev 15447 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11266 Rev 15079
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
use Fpdf\Fpdf;
5
use Fpdf\Fpdf;
Línea -... Línea 6...
-
 
6
 
-
 
7
class PerformanceEvaluationPdf extends FPDF {
-
 
8
 
6
 
9
    public $header;
7
class PerformanceEvaluationPdf extends FPDF {
10
    public $footer;
8
 
11
    
9
    /**
12
    /**
10
     * Header PDF
13
     * Header PDF
11
     */
14
     */
-
 
15
    function Header() {
-
 
16
        if ($this->header != '') {
12
    function Header() {
17
            $this->Image($this->header, 10, 1, 190);
Línea 13... Línea 18...
13
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/header_background.png', 10, 8, 190);
18
            $this->SetY(55);
14
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/header_logo.png', 130, 20, 60);
19
        }
15
    }
20
    }
16
 
21
 
-
 
22
    /**
17
    /**
23
     * Footer PDF
18
     * Footer PDF
24
     */
-
 
25
    function Footer() {
19
     */
26
        if ($this->footer != '') {
Línea 20... Línea 27...
20
    function Footer() {
27
            $this->SetY(-40);
21
        $this->SetY(-30);
28
            $this->Image($this->footer, 10,$this->getY() , 190);
22
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/footer_background.jpg', 10, $this->getY(), 190);
29
        }