CoolCMS API

CommentThreadTrait

Tags
template

Table of Contents

Properties

$commentThread  : TCommentThread|null
$commentThreadId  : int|null

Methods

getCommentThread()  : TCommentThread|null
getCommentThreadId()  : int|null
setCommentThread()  : $this
setCommentThreadId()  : $this

Properties

$commentThreadId

protected int|null $commentThreadId = null
Attributes
#[FieldAccess]
$read: \App\Core\Attributes\Hydration\Audience::All
$insert: \App\Core\Attributes\Hydration\Audience::Privileged
$update: \App\Core\Attributes\Hydration\Audience::Privileged
#[Transient]

Methods

getCommentThread()

public getCommentThread() : TCommentThread|null
Return values
TCommentThread|null

getCommentThreadId()

public getCommentThreadId() : int|null
Return values
int|null

setCommentThread()

public setCommentThread(TCommentThread|null $commentThread) : $this
Parameters
$commentThread : TCommentThread|null
Return values
$this

setCommentThreadId()

public setCommentThreadId(int|null $commentThreadId) : $this
Parameters
$commentThreadId : int|null
Return values
$this
On this page

Search results