Class MatukioHelperPDF

since 3.1.0
package MatukioEvents

 Methods

Generates the certificate

generateCertificate(object $booking, string $text, string $subject, string $destination = "D", $image = '') : string
Static

Parameters

$booking

object
  • The booking

$text

string
  • The text

$subject

string
  • The subject

$destination

string
  • Where should the generated file been send

$image

Returns

string

Generates the invoice

generateInvoice(string $booking, string $text, string $subject, string $destination = "D") : string
Static

Parameters

$booking

string
  • The booking

$text

string
  • The text

$subject

string
  • The subject

$destination

string
  • Where should the generated file been send

Returns

string

Generates the

generateTicket(string $booking, string $text, string $subject, string $destination = "D", $image = '') : string
Static

Parameters

$booking

string
  • The booking

$text

string
  • The text

$subject

string
  • The subject

$destination

string
  • Where should the generated file been send

$image

Returns

string

Gets the certificate PDF

getCertificate(string $booking, string $event, string $subject = "CERTIFICATE", string $destination = "D") : string
Static

Parameters

$booking

string
  • The booking

$event

string
  • The event

$subject

string
  • The subject

$destination

string
  • The destination

Returns

string

Gets the invoice

getInvoice(string $booking, string $kurs, string $subject = "INVOICE", string $destination = "D") : string
Static

Parameters

$booking

string
  • The booking

$kurs

string
  • The event

$subject

string
  • The subject

$destination

string
  • The destination

Returns

string

Gets the invoice

getInvoiceVTN(string $bookings, string $kurs, string $subject = "INVOICE", string $destination = "D") : string
Static

Parameters

$bookings

string
  • The bookings

$kurs

string
  • The event

$subject

string
  • The subject

$destination

string
  • The destination

Returns

string

Gets the invoice

getTicket(string $booking, string $kurs, string $subject = "Ticket", string $destination = "D") : string
Static

Parameters

$booking

string
  • The booking

$kurs

string
  • The event

$subject

string
  • The subject

$destination

string
  • The destination

Returns

string

 Properties

 

$instance

$instance 

Default

Static