public function getAllCommentNumber() { $str = parent::getAllCommentNumber(); if ($str) { $p = '/(\\d+)/'; preg_match($p, $str, $out); $this->_allCommentNumber = isset($out[1]) ? $out[1] : 0; } return $this->_allCommentNumber; }
public function getAllCommentNumber() { $str = parent::getAllCommentNumber(); if ($str) { $p = '/(\\d+)/'; preg_match($p, $str, $out); $this->_allCommentNumber = isset($out[1]) ? $out[1] : 0; } return $this->_allCommentNumber; }