function listAction() { $catalogGuid = $this->_getParam('guid') ? $this->_getParam('guid') : ''; $modelComment = new Pandamp_Modules_Extension_Comment_Model_Comment(); $decorator = new Pandamp_BeanContext_Decorator($modelComment); $rows = $decorator->getCommentByGuidAsEntity($catalogGuid); $tree = new Pandamp_Lib_TuneTree($rows); $items = $tree->get(); $this->view->rows = $items; }