/** */ function getViewedTotal() { if ($this->_viewedTotal == null) { $blogs = new Blogs(); $this->_viewedTotal = $blogs->getBlogViewedTotal($this->getId()); } return $this->_viewedTotal; }