Authored by yangyang

save

@@ -87,7 +87,7 @@ class StarClassModel @@ -87,7 +87,7 @@ class StarClassModel
87 if (empty($build)) { 87 if (empty($build)) {
88 continue; 88 continue;
89 } 89 }
90 - $result[] = $build; 90 + $result['resources'][] = $build;
91 } 91 }
92 $build = array(); 92 $build = array();
93 } 93 }
@@ -31,7 +31,7 @@ class StarClassController extends AbstractAction @@ -31,7 +31,7 @@ class StarClassController extends AbstractAction
31 public function specialAction() 31 public function specialAction()
32 { 32 {
33 $data = StarClassModel::getspecial(); 33 $data = StarClassModel::getspecial();
34 - 34 +//print_r($data);
35 $this->_view->display('subject', array( 35 $this->_view->display('subject', array(
36 'trendClassSubject' => $data 36 'trendClassSubject' => $data
37 )); 37 ));