Galette API documentation
Gestionnaire d’Adhérents en Ligne Extrêmement Tarabiscoté mais Tellement Efficace
1.0.0
Galette\IO\PdfAdhesionForm Class Reference
Inheritance diagram for Galette\IO\PdfAdhesionForm:
Collaboration diagram for Galette\IO\PdfAdhesionForm:

Public Member Functions

 __construct (Adherent $adh, Db $zdb, Preferences $prefs)
 
 store (string $path)
 
 getPath ()
 
- Public Member Functions inherited from Galette\IO\Pdf
 __construct (Preferences $prefs, ?PdfModel $model=null)
 
 init ()
 
 showPagination ()
 
 __destruct ()
 
 Error (mixed $msg)
 
 colorHex2Dec (string $hex6)
 
 Header ()
 
 Footer (TCPDF $pdf=null)
 
 PageHeader (string $title=null)
 
 PageBody ()
 
 getFilename ()
 
 download ()
 

Protected Member Functions

 getModel ()
 
- Protected Member Functions inherited from Galette\IO\Pdf
 setNoHeader ()
 
 setNoFooter ()
 
 modelPageHeader (string $title=null)
 
 standardPageHeader (string $title=null)
 
 fixSize (string $text, int $maxsize, int $fontsize, string $fontstyle='', string $fontname=null)
 
 cut (string $str, int $length)
 
 stretchHead (string $str, int $length)
 

Protected Attributes

Db $zdb
 
Adherent $adh
 
Preferences $prefs
 
string $filename
 
- Protected Attributes inherited from Galette\IO\Pdf
Preferences $preferences
 
I18n $i18n
 
string $filename
 
float $footer_height
 

Additional Inherited Members

- Public Attributes inherited from Galette\IO\Pdf
const FONT = 'DejaVuSans'
 
const FONT_SIZE = 10
 

Detailed Description

Adhesion Form PDF

Author
Guillaume Rousse guill.nosp@m.omov.nosp@m.itch@.nosp@m.gmai.nosp@m.l.com
Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be

Constructor & Destructor Documentation

◆ __construct()

Galette\IO\PdfAdhesionForm::__construct ( Adherent  $adh,
Db  $zdb,
Preferences  $prefs 
)

Main constructor

Parameters
Adherent$adhAdherent
Db$zdbDatabase instance
Preferences$prefsPreferences instance

Member Function Documentation

◆ getModel()

Galette\IO\PdfAdhesionForm::getModel ( )
protected

Get model

Returns
?PdfModel

◆ getPath()

Galette\IO\PdfAdhesionForm::getPath ( )

Get store path

Returns
string

◆ store()

Galette\IO\PdfAdhesionForm::store ( string  $path)

Store PDF

Parameters
string$pathPath
Returns
boolean

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