메소드 | 설명 | |
---|---|---|
__construct ( array $permissions ) | ||
getSubscribedEvents ( ) | ||
handleHydrate ( Sulu\Component\DocumentManager\Event\HydrateEvent $event ) | Adds the security information to the hydrated object. | |
handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | Adds the security information to the node. | |
supports ( $document ) : boolean | Shows if the given document is supported by this subscriber. |
메소드 | 설명 | |
---|---|---|
getAllowedPermissions ( $permissions ) : array | Extracts the keys of the allowed permissions into an own array. |
public handleHydrate ( Sulu\Component\DocumentManager\Event\HydrateEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\HydrateEvent |
public handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\PersistEvent |