IAction¶
-
interface
OCP\Notification\
IAction
¶ - Interface IAction
Implemented by: OC\Notification\Action
Source: lib/public/Notification/IAction.php#33
Constants¶
-
TYPE_GET = GET
Source: lib/public/Notification/IAction.php#38 Since: 17.0.0
-
TYPE_POST = POST
Source: lib/public/Notification/IAction.php#42 Since: 17.0.0
-
TYPE_PUT = PUT
Source: lib/public/Notification/IAction.php#46 Since: 17.0.0
-
TYPE_DELETE = DELETE
Source: lib/public/Notification/IAction.php#50 Since: 17.0.0
-
TYPE_WEB = WEB
Source: lib/public/Notification/IAction.php#54 Since: 17.0.0
Methods¶
-
public
OCP\Notification\IAction::
setLabel
($label)¶ Source: Parameters: - $label (string)
Returns: $this
Throws: \InvalidArgumentException
if the label is invalidSince: 9.0.0
-
public
OCP\Notification\IAction::
getLabel
()¶ Source: lib/public/Notification/IAction.php#68 Returns: string Since: 9.0.0
-
public
OCP\Notification\IAction::
setParsedLabel
($label)¶ Source: Parameters: - $label (string)
Returns: $this
Throws: \InvalidArgumentException
if the label is invalidSince: 9.0.0
-
public
OCP\Notification\IAction::
getParsedLabel
()¶ Source: lib/public/Notification/IAction.php#82 Returns: string Since: 9.0.0
-
public
OCP\Notification\IAction::
setPrimary
($primary)¶ Source: Parameters: - $primary (bool)
Returns: $this
Throws: \InvalidArgumentException
if $primary is invalidSince: 9.0.0
-
public
OCP\Notification\IAction::
isPrimary
()¶ Source: lib/public/Notification/IAction.php#96 Returns: bool Since: 9.0.0
-
public
OCP\Notification\IAction::
setLink
($link, $requestType)¶ Source: Parameters: - $link (string)
- $requestType (string)
Returns: $this
Throws: \InvalidArgumentException
if the link is invalidSince: 9.0.0
-
public
OCP\Notification\IAction::
getLink
()¶ Source: lib/public/Notification/IAction.php#111 Returns: string Since: 9.0.0
-
public
OCP\Notification\IAction::
getRequestType
()¶ Source: lib/public/Notification/IAction.php#117 Returns: string Since: 9.0.0
-
public
OCP\Notification\IAction::
isValid
()¶ Source: lib/public/Notification/IAction.php#123 Returns: bool Since: 9.0.0
-
public
OCP\Notification\IAction::
isValidParsed
()¶ Source: lib/public/Notification/IAction.php#129 Returns: bool Since: 9.0.0