locked = 0; $this->forumImage = ''; $this->forumOfGroup = 0; $this->forumPosts = 0; $this->forumGroupPublicPrivate = ''; } public function __toString(): string { return $this->getForumTitle(); } /** * Set forumTitle. * * @param string $forumTitle * * @return CForumForum */ public function setForumTitle($forumTitle) { $this->forumTitle = $forumTitle; return $this; } /** * Get forumTitle. * * @return string */ public function getForumTitle() { return $this->forumTitle; } /** * Set forumComment. * * @param string $forumComment * * @return CForumForum */ public function setForumComment($forumComment) { $this->forumComment = $forumComment; return $this; } /** * Get forumComment. * * @return string */ public function getForumComment() { return $this->forumComment; } /** * Set forumThreads. * * @param int $forumThreads * * @return CForumForum */ public function setForumThreads($forumThreads) { $this->forumThreads = $forumThreads; return $this; } /** * Get forumThreads. * * @return int */ public function getForumThreads() { return $this->forumThreads; } /** * Set forumPosts. * * @param int $forumPosts * * @return CForumForum */ public function setForumPosts($forumPosts) { $this->forumPosts = $forumPosts; return $this; } /** * Get forumPosts. * * @return int */ public function getForumPosts() { return $this->forumPosts; } /** * Set forumLastPost. * * @param int $forumLastPost * * @return CForumForum */ public function setForumLastPost($forumLastPost) { $this->forumLastPost = $forumLastPost; return $this; } /** * Get forumLastPost. * * @return int */ public function getForumLastPost() { return $this->forumLastPost; } /** * Set forumCategory. * * @return CForumForum */ public function setForumCategory(CForumCategory $forumCategory = null) { $this->forumCategory = $forumCategory; return $this; } /** * Get forumCategory. * * @return CForumCategory|null */ public function getForumCategory() { return $this->forumCategory; } /** * Set allowAnonymous. * * @param int $allowAnonymous * * @return CForumForum */ public function setAllowAnonymous($allowAnonymous) { $this->allowAnonymous = $allowAnonymous; return $this; } /** * Get allowAnonymous. * * @return int */ public function getAllowAnonymous() { return $this->allowAnonymous; } /** * Set allowEdit. * * @param int $allowEdit * * @return CForumForum */ public function setAllowEdit($allowEdit) { $this->allowEdit = $allowEdit; return $this; } /** * Get allowEdit. * * @return int */ public function getAllowEdit() { return $this->allowEdit; } /** * Set approvalDirectPost. * * @param string $approvalDirectPost * * @return CForumForum */ public function setApprovalDirectPost($approvalDirectPost) { $this->approvalDirectPost = $approvalDirectPost; return $this; } /** * Get approvalDirectPost. * * @return string */ public function getApprovalDirectPost() { return $this->approvalDirectPost; } /** * Set allowAttachments. * * @param int $allowAttachments * * @return CForumForum */ public function setAllowAttachments($allowAttachments) { $this->allowAttachments = $allowAttachments; return $this; } /** * Get allowAttachments. * * @return int */ public function getAllowAttachments() { return $this->allowAttachments; } /** * Set allowNewThreads. * * @param int $allowNewThreads * * @return CForumForum */ public function setAllowNewThreads($allowNewThreads) { $this->allowNewThreads = $allowNewThreads; return $this; } /** * Get allowNewThreads. * * @return int */ public function getAllowNewThreads() { return $this->allowNewThreads; } /** * Set defaultView. * * @param string $defaultView * * @return CForumForum */ public function setDefaultView($defaultView) { $this->defaultView = $defaultView; return $this; } /** * Get defaultView. * * @return string */ public function getDefaultView() { return $this->defaultView; } /** * Set forumOfGroup. * * @param string $forumOfGroup * * @return CForumForum */ public function setForumOfGroup($forumOfGroup) { $this->forumOfGroup = $forumOfGroup; return $this; } /** * Get forumOfGroup. * * @return string */ public function getForumOfGroup() { return $this->forumOfGroup; } public function getForumGroupPublicPrivate(): string { return $this->forumGroupPublicPrivate; } /** * @return $this */ public function setForumGroupPublicPrivate(string $forumGroupPublicPrivate) { $this->forumGroupPublicPrivate = $forumGroupPublicPrivate; return $this; } /** * Set forumOrder. * * @param int $forumOrder * * @return CForumForum */ public function setForumOrder($forumOrder) { $this->forumOrder = $forumOrder; return $this; } /** * Get forumOrder. * * @return int */ public function getForumOrder() { return $this->forumOrder; } /** * Set locked. * * @param int $locked * * @return CForumForum */ public function setLocked($locked) { $this->locked = $locked; return $this; } /** * Get locked. * * @return int */ public function getLocked() { return $this->locked; } /** * Set sessionId. * * @param int $sessionId * * @return CForumForum */ public function setSessionId($sessionId) { $this->sessionId = $sessionId; return $this; } /** * Get sessionId. * * @return int */ public function getSessionId() { return $this->sessionId; } /** * Set forumImage. * * @param string $forumImage * * @return CForumForum */ public function setForumImage($forumImage) { $this->forumImage = $forumImage; return $this; } /** * Get forumImage. * * @return string */ public function getForumImage() { return $this->forumImage; } /** * Set startTime. * * @param \DateTime $startTime * * @return CForumForum */ public function setStartTime($startTime) { $this->startTime = $startTime; return $this; } /** * Get startTime. * * @return \DateTime */ public function getStartTime() { return $this->startTime; } /** * Set endTime. * * @param \DateTime $endTime * * @return CForumForum */ public function setEndTime($endTime) { $this->endTime = $endTime; return $this; } /** * Get endTime. * * @return \DateTime */ public function getEndTime() { return $this->endTime; } /** * Set cId. * * @param int $cId * * @return CForumForum */ public function setCId($cId) { $this->cId = $cId; return $this; } /** * Get cId. * * @return int */ public function getCId() { return $this->cId; } /** * Set lpId. * * @param int $lpId * * @return CForumForum */ public function setLpId($lpId) { $this->lpId = $lpId; return $this; } /** * Get lpId. * * @return int */ public function getLpId() { return $this->lpId; } /** * @return bool */ public function isModerated() { return $this->moderated; } /** * @param $moderated * * @return $this */ public function setModerated($moderated) { $this->moderated = $moderated; return $this; } /** * Get iid. * * @return int */ public function getIid() { return $this->iid; } /** * Get threads. * * @return ArrayCollection|CForumThread[] */ public function getThreads() { return $this->threads; } /** * Resource identifier. */ public function getResourceIdentifier(): int { return $this->getIid(); } public function getResourceName(): string { return $this->getForumTitle(); } public function setResourceName(string $name): self { return $this->setForumTitle($name); } }