Class MatukioControllerParticipants

since 3.0
package MatukioEvents

 Methods

Constructor to register extra tasks

__construct() 

Cancels participants view

cancel() : void

Certificates / revokes certification of the booking

certificate() : void

Exceptions

\Exception - if query fails

Checks-in a booking

checkin() : void

Exceptions

\Exception - if query fails

Empties trash

emptytrash() : void

Exceptions

\Exception

Method to get a model object, loading it if required.

getModel(string $name = 'Participants', string $prefix = 'MatukioModel', array $config = array('ignore_request' => true)) : object

Parameters

$name

string

The model name. Optional.

$prefix

string

The class prefix. Optional.

$config

array

Configuration array for model. Optional.

Returns

objectThe model.

Migrates old bookings to json format

migratejson() : void

Toogle paid status

paid() : void

Exceptions

\Exception - if query fails

Publishs / unpublish the booking

publish() : void

Reject a booking

reject() 
since 6.1.0

Removes an booking

remove() : void

Exceptions

\Exception

Class MatukioControllerBookings

todo Really old code, needs fixing and refactoring
since 5.0.0
package MatukioEvents

 Methods

Constructor to register extra tasks

__construct() 

Cert user

certificate() : void

Exceptions

\Exception - if access is denied!

Cancels the booking

delete() : object

Exceptions

\Exception - if access is denied!

Returns

object

Toogles booking status between pending and active

togglePendingActive() : void

Exceptions

\Exception

Toogle paid status.

toogleStatusPaid() : void

.

Exceptions

\Exception - if access is denied!

Cancels the booking

undelete() : void

Exceptions

\Exception - if access is denied!