Action¶
-
class
OC\Notification\
Action
¶ Source: lib/private/Notification/Action.php#30 Implements: OCP\Notification\IAction
Properties¶
-
protected static property
OC\Notification\Action::$
label
¶ Source: lib/private/Notification/Action.php#33 Type: string
-
protected static property
OC\Notification\Action::$
labelParsed
¶ Source: lib/private/Notification/Action.php#36 Type: string
-
protected static property
OC\Notification\Action::$
link
¶ Source: lib/private/Notification/Action.php#39 Type: string
-
protected static property
OC\Notification\Action::$
requestType
¶ Source: lib/private/Notification/Action.php#42 Type: string
-
protected static property
OC\Notification\Action::$
icon
¶ Source: lib/private/Notification/Action.php#45 Type: string
-
protected static property
OC\Notification\Action::$
primary
¶ Source: lib/private/Notification/Action.php#48 Type: bool
Methods¶
-
public
OC\Notification\Action::
__construct
()¶ Source: lib/private/Notification/Action.php#50
-
public
OC\Notification\Action::
setLabel
($label)¶ Source: Parameters: - $label (string)
Returns: $this
Throws: \InvalidArgumentException
if the label is invalidSince: 8.2.0
-
public
OC\Notification\Action::
getLabel
()¶ Source: lib/private/Notification/Action.php#76 Returns: string Since: 8.2.0
-
public
OC\Notification\Action::
setParsedLabel
($label)¶ Source: Parameters: - $label (string)
Returns: $this
Throws: \InvalidArgumentException
if the label is invalidSince: 8.2.0
-
public
OC\Notification\Action::
getParsedLabel
()¶ Source: lib/private/Notification/Action.php#98 Returns: string Since: 8.2.0
-
public
OC\Notification\Action::
setPrimary
($primary)¶ Source: Parameters: - $primary bool
Returns: $this
Since: 9.0.0
-
public
OC\Notification\Action::
isPrimary
()¶ Source: lib/private/Notification/Action.php#116 Returns: bool Since: 9.0.0
-
public
OC\Notification\Action::
setLink
($link, $requestType)¶ Source: Parameters: - $link (string)
- $requestType (string)
Returns: $this
Throws: \InvalidArgumentException
if the link is invalidSince: 8.2.0
-
public
OC\Notification\Action::
getLink
()¶ Source: lib/private/Notification/Action.php#149 Returns: string Since: 8.2.0
-
public
OC\Notification\Action::
getRequestType
()¶ Source: lib/private/Notification/Action.php#157 Returns: string Since: 8.2.0
-
public
OC\Notification\Action::
isValid
()¶ Source: lib/private/Notification/Action.php#164 Returns: bool
-
public
OC\Notification\Action::
isValidParsed
()¶ Source: lib/private/Notification/Action.php#171 Returns: bool