getVerb function in Notice class

This commit is contained in:
Mikael Nordfeldth 2016-01-18 22:02:05 +01:00
parent f768de4b46
commit 7715ea993b

View File

@ -277,6 +277,11 @@ class Notice extends Managed_DataObject
return $this->created;
}
public function getVerb($make_relative=false)
{
return ActivityUtils::resolveUri($this->verb, $make_relative);
}
/*
* Get the original representation URL of this notice.
*