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: 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: Parameters: - $name (string) localized action name, e.g. ‘Call’
Since: 12.0
-
public
OCP\Contacts\ContactsMenu\IAction::
setPriority
($priority)¶ Source: 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