Programming Language PHP

Namespace Oro\Bundle\CaseBundle\Entity

Class CaseComment

Method/Function setPublic

Total Examples 1

1 code examples of PHP Oro\Bundle\CaseBundle\Entity\CaseComment::setPublic extracted from open source projects

Was this example useful?
0
                                                    protected function syncCaseCommentFields(CaseComment $caseComment, TicketComment $ticketComment)
    {
        $caseComment->setPublic($ticketComment->getPublic());
        if ($ticketComment->getOriginCreatedAt()) {
            $caseComment->setCreatedAt($ticketComment->getOriginCreatedAt());
        }
        $caseComment->setMessage($ticketComment->getBody());
        $this->syncCaseCommentOwnerAndUser($caseComment, $ticketComment);
    }
                                            
CaseComment's Other Methods