38 $root =& XCube_Root::getSingleton();
39 $language = $root->mContext->getXoopsConfig(
'language');
40 $root->mLanguageManager->loadPageTypeMessageCatalog(
'comment');
42 $this->_mResults[XOOPS_COMMENT_PENDING] =& $this->
create();
43 $this->_mResults[XOOPS_COMMENT_PENDING]->setVar(
'id', XOOPS_COMMENT_PENDING);
44 $this->_mResults[XOOPS_COMMENT_PENDING]->setVar(
'name', _CM_PENDING);
46 $this->_mResults[XOOPS_COMMENT_ACTIVE] =& $this->
create();
47 $this->_mResults[XOOPS_COMMENT_ACTIVE]->setVar(
'id', XOOPS_COMMENT_ACTIVE);
48 $this->_mResults[XOOPS_COMMENT_ACTIVE]->setVar(
'name', _CM_ACTIVE);
50 $this->_mResults[XOOPS_COMMENT_HIDDEN] =& $this->
create();
51 $this->_mResults[XOOPS_COMMENT_HIDDEN]->setVar(
'id', XOOPS_COMMENT_HIDDEN);
52 $this->_mResults[XOOPS_COMMENT_HIDDEN]->setVar(
'name', _CM_HIDDEN);