dolibarr  21.0.0-alpha
Public Member Functions | Private Member Functions | List of all members
pdf_standard_actions Class Reference

Class to generate event report. More...

Public Member Functions

 __construct ($db, $month, $year)
 Constructor. More...
 
 write_file ($socid, $outputlangs)
 Write the object to document file to disk. More...
 

Private Member Functions

 _pages (&$pdf, $outputlangs)
 Write content of pages. More...
 
 _pagehead (&$pdf, $outputlangs, $pagenb)
 Show top header of page. More...
 

Detailed Description

Class to generate event report.

Definition at line 37 of file pdf_standard_actions.class.php.

Constructor & Destructor Documentation

◆ __construct()

pdf_standard_actions::__construct (   $db,
  $month,
  $year 
)

Constructor.

Parameters
DoliDB$dbDatabase handler
int$monthMonth
int$yearYear

Definition at line 91 of file pdf_standard_actions.class.php.

Member Function Documentation

◆ _pagehead()

pdf_standard_actions::_pagehead ( $pdf,
  $outputlangs,
  $pagenb 
)
private

Show top header of page.

Parameters
TCPDF$pdfObject PDF
Translate$outputlangsObject lang for output
int$pagenbPage nb
Returns
float Return topshift value

Definition at line 361 of file pdf_standard_actions.class.php.

◆ _pages()

pdf_standard_actions::_pages ( $pdf,
  $outputlangs 
)
private

Write content of pages.

Parameters
TCPDF$pdfObject pdf
Translate$outputlangsObject langs
Returns
int 1

Definition at line 232 of file pdf_standard_actions.class.php.

◆ write_file()

pdf_standard_actions::write_file (   $socid,
  $outputlangs 
)

Write the object to document file to disk.

Parameters
int$socidThirdparty id
Translate$outputlangsLang object for output language
Returns
int 1=OK, 0=KO

Definition at line 127 of file pdf_standard_actions.class.php.


The documentation for this class was generated from the following file: