/**
* Synchronize the preferences information with the information from the
* backend.
*
* @param array $params Additional parameters.
*
* @return NULL
*/
public function synchronize($params = array())
{
$this->_mapping = array();
foreach ($this->_data->getObjects() as $id => $data) {
$this->_mapping[$data['application']] = $id;
}
$this->_data_cache->setQuery(self::PREFS, $this->_mapping);
}