Class MatukioHelperOrganizer

since 2.2.0
package MatukioEvents

 Methods

Creates an organizer for the given user, checks before if she / he is already one

createOrganizerForUser(\JUser $user) : boolean
Static

Parameters

$user

\JUser
  • create an organizer for an user (new events

Returns

boolean

Get the next event of the organizer

getNextOrganizerEvent($userId) : object
Static
since 6.0.7

Parameters

$userId

Returns

objectThe event Object

Gets the organizers

getOrganizer(integer $userid) : mixed
Static

Parameters

$userid

integer
  • The user id

Returns

mixed

Get all organizers as array, including all organizers String (only userId, text and id)

getOrganizerForSelect() : array
Static
since 7.0.0

Returns

array

Gets the Organizer on the given id

getOrganizerId(integer $id) : mixed
Static

Parameters

$id

integer
  • The id

Returns

mixed

Load only the organizers (id, name) for the displayed events

getOrganizersTauristar(object $events) : mixed | null
Static
since 6.0.10

Parameters

$events

object

The events

Returns

mixednull

 Properties

 

$instance

$instance 

Default

Static