SimpleMenuAction

class OCP\AppFramework\Http\Template\SimpleMenuAction
Class SimpleMenuAction
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#34
Implements:OCP\AppFramework\Http\Template\IMenuAction

Properties

Methods

public OCP\AppFramework\Http\Template\SimpleMenuAction::__construct($id, $label, $icon, $link="", $priority=100, $detail="")
SimpleMenuAction constructor.
Source:

lib/public/AppFramework/Http/Template/SimpleMenuAction.php#65

Parameters:
  • $id (string)
  • $label (string)
  • $icon (string)
  • $link (string)
  • $priority (int)
  • $detail (string)
Since:

14.0.0

public OCP\AppFramework\Http\Template\SimpleMenuAction::getId()
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#78
Returns:string
Since:14.0.0
public OCP\AppFramework\Http\Template\SimpleMenuAction::getLabel()
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#86
Returns:string
Since:14.0.0
public OCP\AppFramework\Http\Template\SimpleMenuAction::getIcon()
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#94
Returns:string
Since:14.0.0
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#102
Returns:string
Since:14.0.0
public OCP\AppFramework\Http\Template\SimpleMenuAction::getPriority()
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#110
Returns:int
Since:14.0.0
public OCP\AppFramework\Http\Template\SimpleMenuAction::render()
Source:lib/public/AppFramework/Http/Template/SimpleMenuAction.php#118
Returns:string
Since:14.0.0