Manual talk:Hooks/GetPreferences

Here's an example how to make use of a preference:

$user = $this->getUser; if ( $user->getOption( 'mypref2' ) == 'choice3' ) { /* do something... */ }