Connector extends StubConnector
Table of Contents
Methods
- __construct() : mixed
- addComment() : mixed
- $data contains 'text', 'version'
- buildFromAttachedObject() : mixed
- canConfidenceReadInOperableEntity() : bool
- canConfidenceUpdateInOperableEntity() : bool
- canRead() : bool
- canUpdate() : bool
- className() : mixed
- getAttachedObject() : AttachedObject
- getDataToShow() : mixed
- getDataToShowByUser() : mixed
- getDataToShowForUser() : mixed
- getPathToGroup() : mixed
- getPathToUser() : mixed
- isAnonymousAllowed() : bool
- isSetAttachedObject() : bool
- setAttachedObject() : $this
- setPathToGroup() : mixed
- setPathToUser() : mixed
- tryToGetDataToShowForUser() : mixed
Methods
__construct()
public
__construct(mixed $entityId) : mixed
Parameters
- $entityId : mixed
addComment()
$data contains 'text', 'version'
public
addComment(mixed $authorId, array<string|int, mixed> $data) : mixed
Parameters
- $authorId : mixed
- $data : array<string|int, mixed>
Tags
buildFromAttachedObject()
public
final static buildFromAttachedObject(AttachedObject $attachedObject) : mixed
Parameters
- $attachedObject : AttachedObject
canConfidenceReadInOperableEntity()
public
canConfidenceReadInOperableEntity() : bool
Return values
boolcanConfidenceUpdateInOperableEntity()
public
canConfidenceUpdateInOperableEntity() : bool
Return values
boolcanRead()
public
canRead(mixed $userId) : bool
Parameters
- $userId : mixed
Return values
boolcanUpdate()
public
canUpdate(mixed $userId) : bool
Parameters
- $userId : mixed
Return values
boolclassName()
public
static className() : mixed
getAttachedObject()
public
getAttachedObject() : AttachedObject
Return values
AttachedObjectgetDataToShow()
public
getDataToShow() : mixed
Tags
getDataToShowByUser()
public
getDataToShowByUser(int $userId) : mixed
Parameters
- $userId : int
getDataToShowForUser()
public
getDataToShowForUser(int $userId) : mixed
Parameters
- $userId : int
getPathToGroup()
public
getPathToGroup() : mixed
getPathToUser()
public
getPathToUser() : mixed
isAnonymousAllowed()
public
isAnonymousAllowed() : bool
Return values
boolisSetAttachedObject()
public
isSetAttachedObject() : bool
Return values
boolsetAttachedObject()
public
setAttachedObject(AttachedObject $attachedObject) : $this
Parameters
- $attachedObject : AttachedObject
Return values
$thissetPathToGroup()
public
static setPathToGroup(mixed $path) : mixed
Parameters
- $path : mixed
setPathToUser()
public
static setPathToUser(mixed $path) : mixed
Parameters
- $path : mixed
tryToGetDataToShowForUser()
public
tryToGetDataToShowForUser(int $userId) : mixed
Parameters
- $userId : int