Class MatukioHelperBoulderado

since 5.1.4
package MatukioEvents

 Methods

Get booking positions in the booking

getBookingPositions(object $b, object $event) : array
Static

Parameters

$b

object
  • The booking

$event

object
  • The event

Returns

array- Of booking positions in this booking

Get the reply header of boulderado

getClassHeader(string $status = "OK", string $msg = "", string $checksum = "") : \StdClass
Static

Parameters

$status

string
  • The status (OK or Error)

$msg

string
  • The msg

$checksum

string
  • The cheecksum (Currently not used by boulderado)

Returns

\StdClass

Get the contact data

getContactData(object $b) : object
Static

Parameters

$b

object
  • The booking

Returns

object- The contact data

Get different fee elements

getDifferentFeeElements(object $event) : array
Static

Parameters

$event

object
  • The event

Returns

array- Array of different fees

Get event bookings

getEventBookings(object $event, integer $status = 1) : array | null
Static

Parameters

$event

object
  • The event

$status

integer
  • The status

Returns

arraynull

Get the event details for boulderado (including fees, bookings and more)

getEventBoulderado(object $event) : \stdClass
Static

Parameters

$event

object
  • The event

Returns

\stdClass- The data for boulderado

Get the event tax

getEventTax(object $event) : integer
Static

Parameters

$event

object
  • The event

Returns

integer- The tax (0, 7, 19)

Gets the fee in cent

getFeeInCent(integer $fee) : integer
Static

Parameters

$fee

integer
  • The fee

Returns

integer- The fee in cents (int)

 Properties

 

The booking fields (global)

$bookingfields : array

Default

null
Static