Class MatukioHelperUtilsBooking
| since | 1.0.0 |
|---|---|
| package | MatukioEvents |
book(boolean $frontend = true) : array
. This is a mess - sorry.. old old code from Seminar
boolean\Exception |
|---|
array- Mess..changeStatusBooking(array $cid, integer $status= 1, boolean $notifyParticipant= true) : boolean
arrayintegerboolean\Exception |
- DB Error |
|---|
booleandeleteBookings(array $cid) : boolean
array\Exception |
- DB Error |
|---|
booleangetBooking(integer $booking_id, integer $event_id = 0) : mixed
integerintegermixedgetBookingCheckinQRCode(string $url, integer $id) : string
stringintegerstringgetBookingFieldValue(array $fields, string $key) : string
arrayThe fields values
stringThe key
stringgetBookingId(integer $id) : string
integerstringgetBookingIdBarcode(integer $id) : string
integerstringgetBookingIdCodePicture(integer $id) : string
integerstringgetBookingIdQRCode(integer $id) : string
integerstring- The img codegetBookingPaidName(integer $s = 0) : string
integerstringgetBookingStatusName(integer $s = 0) : string
integerstringgetBookingStatusSelect(integer $selected) : mixed
| since | 7.0.0 |
|---|
integerThe current selected status
mixedgetBookingStopSelect(integer $selected) : mixed
| since | 7.0.0 |
|---|
integerSelected value
mixedgetCode99(\char $Asc) : string
\charstringgetLatestUserBooking(integer $formId, integer $userId) : object | null
| since | 7.0.0 |
|---|
integerForm Id for the booking
integerUser Id
objectnull
getQRCodeIMG(string $encode, integer $width= 150, integer $height= 150) : string
stringintegerintegerstringgetUserBookings(\JUser $user, object $event) : mixed
\JUserobjectmixedisUserBooked(\JUser $user, object $event, $email = null) : boolean
\JUserobjectboolean(false if not booked, true if booked)ACTIVE = 1
ARCHIVED = 3
DELETED = 4
PAID = 1
PAID_NOT = 0
PENDING = 0
REQUIRED_CLASS = " required"
WAITLIST = 2