Habari\Comment::get_info PHP Method

get_info() private method

Gets the info object for this comment, which contains data from the commentinfo table related to this comment.
private get_info ( ) : CommentInfo
return CommentInfo object
    private function get_info()
    {
        if (!$this->inforecords) {
            if (0 == $this->id) {
                $this->inforecords = new CommentInfo();
            } else {
                $this->inforecords = new CommentInfo($this->id);
            }
        }
        return $this->inforecords;
    }