Méthode | 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 |
Méthode | 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 | |
Résultat | boolean |
public canDeleteEvent ( User $user, Firm $firm, Event $event ) : boolean | ||
$user | User | |
$firm | Firm | |
$event | Event | |
Résultat | boolean |
public canEditEpisode ( Firm $firm, Episode $episode ) : boolean | ||
$firm | Firm | |
$episode | Episode | |
Résultat | boolean |
public canEditEvent ( Firm $firm, Event $event ) : boolean | ||
$firm | Firm | |
$event | Event | |
Résultat | boolean |
public canRequestEventDeletion ( Firm $firm, Event $event ) : boolean | ||
$firm | Firm | |
$event | Event | |
Résultat | boolean |