/** * prepare * * @param void * * @return bool **/ function prepare() { //データの自動作成と削除 $inidataset = new Xupdate_ModulesIniDadaSet(); $inidataset->storeHand =& $this->_getStoreHandler(); $inidataset->modHand =& $this->_getModStoreHandler(); $inidataset->execute('module'); //----------------------------------------------- return true; }
function getDefaultView() { //データの自動作成と削除 $inidataset = new Xupdate_ModulesIniDadaSet(); $inidataset->storeHand =& $this->_getStoreHandler(); $inidataset->modHand =& $this->_getHandler(); $inidataset->execute('theme'); //----------------------------------------------- $jQuery = $this->mRoot->mContext->getAttribute('headerScript'); $jQuery->addScript($this->RapidModuleInstall_js(), false); $modHand =& $this->_getHandler(); $this->mFilter = $this->_getFilterForm(); $this->mFilter->fetch(); $criteria = $this->mFilter->getCriteria(); $criteria->add(new Criteria('target_type', 'Theme')); if (!empty($this->sid)) { $criteria->add(new Criteria('sid', $this->sid)); } $this->mModuleObjects =& $modHand->getObjects($criteria); return XUPDATE_FRAME_VIEW_INDEX; }