public function presencestatePrefsGet($extension)
 {
     return presencestate_prefs_get($extension);
 }
 /**
  * @verb GET
  * @returns - a users presencestate preferences
  * @uri /presencestate/prefs/:extension
  */
 function get_presencestate_prefs_extension($params)
 {
     $prefs = presencestate_prefs_get($params['extension']);
     return $prefs ? $prefs : false;
 }