BlogPostConnector extends Connector
FinalYes
Table of Contents
Methods
- __construct() : mixed
- addComment() : mixed
- $data contains 'text', 'version'
- buildFromAttachedObject() : mixed
- canConfidenceReadInOperableEntity() : bool
- canConfidenceUpdateInOperableEntity() : bool
- canRead() : bool
- canUpdate() : bool
- className() : mixed
- clearCacheByObjectId() : mixed
- createFromBlogPostCommentConnector() : mixed
- getDataToShow() : mixed
- getDataToShowForUser() : mixed
- getPathToGroup() : mixed
- getPathToUser() : mixed
- isAnonymousAllowed() : bool
- 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>
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
clearCacheByObjectId()
public
static clearCacheByObjectId(mixed $id) : mixed
Parameters
- $id : mixed
createFromBlogPostCommentConnector()
public
static createFromBlogPostCommentConnector(BlogPostCommentConnector $blogPostCommentConnector) : mixed
Parameters
- $blogPostCommentConnector : BlogPostCommentConnector
getDataToShow()
public
getDataToShow() : mixed
getDataToShowForUser()
public
getDataToShowForUser(int $userId) : mixed
Parameters
- $userId : int
getPathToGroup()
public
getPathToGroup() : mixed
getPathToUser()
public
getPathToUser() : mixed
isAnonymousAllowed()
public
isAnonymousAllowed() : bool
Return values
boolsetPathToGroup()
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