/**
  * 生成模块的html内容
  * 
  * @access protected
  * @param string $html_id 模块的html的id属性
  * @return string
  */
 function _getHtmlData($html_id)
 {
     $block_data = $this->units[$html_id]['data'];
     list(, $block_type, ) = explode("_", $html_id);
     //$blockid	= $this->units[$html_id]['block_id'];
     //$block	= $this->blocks[$blockid];
     return $this->service->getHtmlData($block_data, $block_type, $html_id);
 }
Example #2
0
 function getAll()
 {
     return $this->stopicService->findSTopicInPage(1, $this->stopicService->countSTopic());
 }