PHP Class Neos\Neos\Service\Controller\UserPreferenceController

Inheritance: extends AbstractServiceController
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$userService Neos\Neos\Domain\Service\UserService

Méthodes publiques

Méthode Description
indexAction ( ) : string
updateAction ( string $key, string $value ) : void Update/adds a user preference

Method Details

indexAction() public méthode

public indexAction ( ) : string
Résultat string json encoded user preferences

updateAction() public méthode

Update/adds a user preference
public updateAction ( string $key, string $value ) : void
$key string The key of the preference to update/add
$value string The value of the preference
Résultat void

Property Details

$userService protected_oe property

protected UserService,Neos\Neos\Domain\Service $userService
Résultat Neos\Neos\Domain\Service\UserService