PHP Class Neos\Neos\Service\Controller\UserPreferenceController

Inheritance: extends AbstractServiceController
ファイルを表示 Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$userService Neos\Neos\Domain\Service\UserService

Public Methods

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

Method Details

indexAction() public method

public indexAction ( ) : string
return string json encoded user preferences

updateAction() public method

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
return void

Property Details

$userService protected_oe property

protected UserService,Neos\Neos\Domain\Service $userService
return Neos\Neos\Domain\Service\UserService