IProvider¶
-
interface
OCP\Activity\
IProvider
¶ - Interface IProvider
Source: lib/public/Activity/IProvider.php#31
Methods¶
-
public
OCP\Activity\IProvider::
parse
($language, $event, $previousEvent=null)¶ Source: Parameters: - $language (string) The language which should be used for translating, e.g. “en”
- $event (
OCP\Activity\IEvent
) The current event which should be parsed - $previousEvent (
OCP\Activity\IEvent
| null) A potential previous event which you can combine with the current one.
To do so, simply use setChildEvent($previousEvent) after setting the combined subject on the current event.
Returns: Throws: \InvalidArgumentException
Should be thrown if your provider does not know this eventSince: 11.0.0