ezpreference( preference )
Name | Type | Description | Required |
---|---|---|---|
preference | string | The name of the preference that should be extracted. | Yes. |
This operator makes it possible to extract the preference values of the current user. The name of the desired preference must be provided as a parameter. The function returns the value/contents of the specified preference. The current user can set a preference by requesting a URL of the following type:
/user/preferences/set/[name_of_preference]/[value]
{ezpreference( 'bookmark_menu' )}
Returns the value/contents of the "bookmark_menu" preference for the current user.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.