Class class MatukioHelperSecurity

since 5.2.7
package MatukioEvents

 Methods

Is the user allowed to edit this event

isAllowedEdit(\JUser $user, integer $eventId = 0) : boolean
Static

Parameters

$user

\JUser

The JUser

$eventId

integer

The event id

Returns

boolean

Is the user the publisher for this event

isPublisher(integer $userId, integer $eventId) : mixed
Static

Parameters

$userId

integer

The user

$eventId

integer

The event

Returns

mixed- 1 or 0