/**
  * prepare
  * 
  * @param   void
  * 
  * @return  bool
  **/
 public function prepare()
 {
     $result = parent::prepare();
     if ($result === false) {
         $cri = new CriteriaCompo();
         $cri->setSort('page_id', 'DESC');
         $objs = $this->mObjectHandler->getObjects($cri, 1, 0);
         $maxId = count($objs) > 0 ? array_shift($objs)->get('page_id') : 0;
         $returnCode = $maxId > $this->_getId() ? 410 : 404;
         header('HTTP', true, $returnCode);
         $this->mRoot->mController->executeRedirect(XOOPS_URL, 2, _MD_XCCK_ERROR_CONTENT_IS_NOT_FOUND);
     }
     $this->mObject->loadMaintable();
     $this->mObject->loadPath();
     $this->mObject->loadTag();
     $this->mObject->loadPrevNext();
     // get previous and next page object
     $this->_setupCategoryManager('page');
     XCube_DelegateUtils::call('Module.' . $this->mAsset->mDirname . '.PrepareView', new XCube_Ref($result), $this->mObject);
     return $result;
 }
 /**
  * prepare
  * 
  * @param	void
  * 
  * @return	bool
  **/
 public function prepare()
 {
     parent::prepare();
     $this->_setupCategoryManager('page');
     return true;
 }