{
return $this->getUser()->shortenLinks($text, $always);
}
+
+ public function getPref($namespace, $topic, $default=null) {
+ return Profile_prefs::getData($this, $namespace, $topic, $default);
+ }
+
+ public function setPref($namespace, $topic, $data) {
+ return Profile_prefs::setData($this, $namespace, $topic, $data);
+ }
}
$service->title);
return $act;
}
+
+ public function getPref($namespace, $topic, $default=null)
+ {
+ return $this->getProfile()->getPref($namespace, $topic, $default);
+ }
+
+ public function setPref($namespace, $topic, $data)
+ {
+ return $this->getProfile()->setPref($namespace, $topic, $data);
+ }
}