Method | Description | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage $tokenStorage = null ) | ||
configureOptions ( Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent $event ) | ||
getSubscribedEvents ( ) | ||
handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event ) | Adds the creator and changer to the metadata for persisting. | |
handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | Persists the data of creator and changer to the Node. |
Method | Description | |
---|---|---|
getUserId ( $options ) : integer | Either returns the user id from the options array, or sets the id of the user of the current session. |
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage $tokenStorage = null ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage |
public configureOptions ( Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent |
public handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\MetadataLoadEvent |
public handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\PersistEvent |