|
static | getTypeClass (int $type) |
|
const | TABLE = 'pdfmodels' |
|
const | PK = 'model_id' |
|
const | MAIN_MODEL = 1 |
|
const | INVOICE_MODEL = 2 |
|
const | RECEIPT_MODEL = 3 |
|
const | ADHESION_FORM_MODEL = 4 |
|
| loadFromRS (ArrayObject $rs) |
|
| checkChars (string $value, int $chars, string $field, bool $empty=false) |
|
PDF contribution model
- Author
- Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ __construct()
Galette\Entity\PdfContribution::__construct |
( |
Db |
$zdb, |
|
|
Preferences |
$preferences, |
|
|
int |
$type, |
|
|
ArrayObject|int |
$args = null |
|
) |
| |
Main constructor
- Parameters
-
Db | $zdb | Database instance |
Preferences | $preferences | Galette preferences |
int | $type | Model type |
| ArrayObject<string,int|string>|int|null | $args Arguments |
Reimplemented from Galette\Entity\PdfModel.
◆ getLegend()
Galette\Entity\PdfContribution::getLegend |
( |
| ) |
|
Build legend array
- Returns
- array<string,array<string,mixed>>
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/galette-apidoc/checkouts/develop/galette/lib/Galette/Entity/PdfContribution.php