IFilter

interface OCP\Activity\IFilter
Interface IFilter
Source:lib/public/Activity/IFilter.php#31

Methods

public OCP\Activity\IFilter::getIdentifier()
Source:lib/public/Activity/IFilter.php#37
Returns:string Lowercase a-z and underscore only identifier
Since:11.0.0
public OCP\Activity\IFilter::getName()
Source:lib/public/Activity/IFilter.php#43
Returns:string A translated string
Since:11.0.0
public OCP\Activity\IFilter::getPriority()
Source:lib/public/Activity/IFilter.php#51
Returns:int whether the filter should be rather on the top or bottom of the admin section. The filters are arranged in ascending order of the priority values. It is required to return a value between 0 and 100.
Since:11.0.0
public OCP\Activity\IFilter::getIcon()
Source:lib/public/Activity/IFilter.php#57
Returns:string Full URL to an icon, empty string when none is given
Since:11.0.0
public OCP\Activity\IFilter::filterTypes($types)
Source:

lib/public/Activity/IFilter.php#64

Parameters:
  • $types (string[])
Returns:

string[] An array of allowed apps from which activities should be displayed

Since:

11.0.0

public OCP\Activity\IFilter::allowedApps()
Source:lib/public/Activity/IFilter.php#70
Returns:string[] An array of allowed apps from which activities should be displayed
Since:11.0.0