public function findallAction() { if ($value_id = $this->getRequest()->getParam('value_id')) { $offset = $this->getRequest()->getParam("offset", 0); $comment = new Comment_Model_Comment(); $comments = $comment->findAll(array("value_id" => $value_id, "is_visible = ?" => 1), "created_at DESC", array("offset" => $offset, "limit" => Comment_Model_Comment::DISPLAYED_PER_PAGE)); $this->_genericFindAction($value_id, $comments); } }