Nextcloud PHP API (master)

IAction

Interface IAction

Tags
since
9.0.0

Table of Contents

Constants

TYPE_DELETE  = 'DELETE'
TYPE_GET  = 'GET'
TYPE_POST  = 'POST'
TYPE_PUT  = 'PUT'
TYPE_WEB  = 'WEB'

Methods

getLabel()  : string
getLink()  : string
getParsedLabel()  : string
getRequestType()  : string
isPrimary()  : bool
isValid()  : bool
isValidParsed()  : bool
setLabel()  : $this
setLink()  : $this
setParsedLabel()  : $this
setPrimary()  : $this

Constants

TYPE_DELETE

public mixed TYPE_DELETE = 'DELETE'
Tags
since
17.0.0

TYPE_GET

public mixed TYPE_GET = 'GET'
Tags
since
17.0.0

TYPE_POST

public mixed TYPE_POST = 'POST'
Tags
since
17.0.0

TYPE_PUT

public mixed TYPE_PUT = 'PUT'
Tags
since
17.0.0

TYPE_WEB

public mixed TYPE_WEB = 'WEB'
Tags
since
17.0.0

Methods

getLabel()

public getLabel() : string
Tags
since
9.0.0
Return values
string
public getLink() : string
Tags
since
9.0.0
Return values
string

getParsedLabel()

public getParsedLabel() : string
Tags
since
9.0.0
Return values
string

getRequestType()

public getRequestType() : string
Tags
since
9.0.0
Return values
string

isPrimary()

public isPrimary() : bool
Tags
since
9.0.0
Return values
bool

isValid()

public isValid() : bool
Tags
since
9.0.0
Return values
bool

isValidParsed()

public isValidParsed() : bool
Tags
since
9.0.0
Return values
bool

setLabel()

public setLabel(string $label) : $this
Parameters
$label : string
Tags
throws
InvalidValueException

if the label is invalid

since
9.0.0
since
30.0.0

throws InvalidValueException instead of \InvalidArgumentException

Return values
$this
public setLink(string $link, string $requestType) : $this
Parameters
$link : string
$requestType : string
Tags
throws
InvalidValueException

if the link is invalid

since
9.0.0
since
30.0.0

throws InvalidValueException instead of \InvalidArgumentException

Return values
$this

setParsedLabel()

public setParsedLabel(string $label) : $this
Parameters
$label : string
Tags
throws
InvalidValueException

if the label is invalid

since
9.0.0
since
30.0.0

throws InvalidValueException instead of \InvalidArgumentException

Return values
$this

setPrimary()

public setPrimary(bool $primary) : $this
Parameters
$primary : bool
Tags
since
9.0.0
Return values
$this

        
On this page

Search results