BackendUser::getSettings() 

\nn\t3::BackendUser()->getSettings($moduleName = 'nnhelpers', $path = NULL); 

Holt userspezifische Einstellungen für den aktuell eingeloggten Backend-User. Siehe \nn\t3::BackendUser()->updateSettings() zum Speichern der Daten.

\nn\t3::BackendUser()->getSettings('myext');                   // => ['wants'=>['drink'=>'coffee']]
\nn\t3::BackendUser()->getSettings('myext', 'wants');        // => ['drink'=>'coffee']
\nn\t3::BackendUser()->getSettings('myext', 'wants.drink');  // => 'coffee'
Copied!

| @return mixed

Source Code 

public function getSettings( $moduleName = 'nnhelpers', $path = null )
{
	$data = $this->get()->uc[$moduleName] ?? [];
	if (!$path) return $data;
	return \nn\t3::Settings()->getFromPath( $path, $data );
}
Copied!