IAction

interface OCP\Contacts\ContactsMenu\IAction
Apps should use the IActionFactory to create new action objects
Source:lib/public/Contacts/ContactsMenu/IAction.php#33
Parent:JsonSerializable

Methods

public OCP\Contacts\ContactsMenu\IAction::setIcon($icon)
Source:

lib/public/Contacts/ContactsMenu/IAction.php#39

Parameters:
  • $icon (string) absolute URI to an icon
Since:

12.0

public OCP\Contacts\ContactsMenu\IAction::getName()
Source:lib/public/Contacts/ContactsMenu/IAction.php#45
Returns:string localized action name, e.g. ‘Call’
Since:12.0
public OCP\Contacts\ContactsMenu\IAction::setName($name)
Source:

lib/public/Contacts/ContactsMenu/IAction.php#51

Parameters:
  • $name (string) localized action name, e.g. ‘Call’
Since:

12.0

public OCP\Contacts\ContactsMenu\IAction::setPriority($priority)
Source:

lib/public/Contacts/ContactsMenu/IAction.php#57

Parameters:
  • $priority (int) priorize actions, high order ones are shown on top
Since:

12.0

public OCP\Contacts\ContactsMenu\IAction::getPriority()
Source:lib/public/Contacts/ContactsMenu/IAction.php#63
Returns:int priority to priorize actions, high order ones are shown on top
Since:12.0