You are here

function _privatemsg_setting_static_cache in Privatemsg 6.2

Holds the static cache for privatemsg user settings.

Return value

The statically cached settings of the current page.

4 calls to _privatemsg_setting_static_cache()
PrivatemsgAPITestCase::testSettings in ./privatemsg.test
Tests for the privatemsg_*_setting() functions.
privatemsg_del_setting in ./privatemsg.module
privatemsg_get_setting in ./privatemsg.module
Retrieve a user setting.
privatemsg_set_setting in ./privatemsg.module

File

./privatemsg.module, line 3081
Allows users to send private messages to other users.

Code

function &_privatemsg_setting_static_cache() {
  static $cache = array();
  return $cache;
}