Method | Description | |
---|---|---|
canCreateEvent ( Firm $firm = null, Episode $episode = null, EventType $event_type = null ) : boolean | ||
canDeleteEvent ( User $user, Firm $firm, Event $event ) : boolean | ||
canEditEpisode ( Firm $firm, Episode $episode ) : boolean | ||
canEditEvent ( Firm $firm, Event $event ) : boolean | ||
canRequestEventDeletion ( Firm $firm, Event $event ) : boolean |
Method | Description | |
---|---|---|
canModifyEvent ( Firm $firm, Event $event ) : boolean | Common check for all rules that involve editing/deleting events. | |
isEventUnlocked ( Event $event ) : boolean | Event locking check. |
public canCreateEvent ( Firm $firm = null, Episode $episode = null, EventType $event_type = null ) : boolean | ||
$firm | Firm | |
$episode | Episode | |
$event_type | EventType | |
return | boolean |
public canDeleteEvent ( User $user, Firm $firm, Event $event ) : boolean | ||
$user | User | |
$firm | Firm | |
$event | Event | |
return | boolean |
public canEditEpisode ( Firm $firm, Episode $episode ) : boolean | ||
$firm | Firm | |
$episode | Episode | |
return | boolean |
public canEditEvent ( Firm $firm, Event $event ) : boolean | ||
$firm | Firm | |
$event | Event | |
return | boolean |
public canRequestEventDeletion ( Firm $firm, Event $event ) : boolean | ||
$firm | Firm | |
$event | Event | |
return | boolean |