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
array
integer
boolean
\Exception |
- DB Error |
---|
boolean
deleteBookings(array $cid) : boolean
array
\Exception |
- DB Error |
---|
boolean
getBooking(integer $booking_id, integer $event_id = 0
) : mixed
integer
integer
mixed
getBookingCheckinQRCode(string $url, integer $id) : string
string
integer
string
getBookingFieldValue(array $fields, string $key) : string
array
The fields values
string
The key
string
getBookingId(integer $id) : string
integer
string
getBookingIdBarcode(integer $id) : string
integer
string
getBookingIdCodePicture(integer $id) : string
integer
string
getBookingIdQRCode(integer $id) : string
integer
string
- The img codegetBookingPaidName(integer $s = 0
) : string
integer
string
getBookingStatusName(integer $s = 0
) : string
integer
string
getBookingStatusSelect(integer $selected) : mixed
since | 7.0.0 |
---|
integer
The current selected status
mixed
getBookingStopSelect(integer $selected) : mixed
since | 7.0.0 |
---|
integer
Selected value
mixed
getCode99(\char $Asc) : string
\char
string
getLatestUserBooking(integer $formId, integer $userId) : object | null
since | 7.0.0 |
---|
integer
Form Id for the booking
integer
User Id
object
null
getQRCodeIMG(string $encode, integer $width= 150
, integer $height= 150
) : string
string
integer
integer
string
getUserBookings(\JUser $user, object $event) : mixed
\JUser
object
mixed
isUserBooked(\JUser $user, object $event, $email = null
) : boolean
\JUser
object
boolean
(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