/** */ function getTotalComments() { if ($this->_totalComments == null) { $blogs = new Blogs(); $this->_totalComments = $blogs->getBlogTotalComments($this->getId()); } return $this->_totalComments; }