예제 #1
0
 public function actionList()
 {
     $oBooks = new Books();
     return $this->render('index', ['threeAuthors' => $oBooks->getThreeAuthors(), 'popular' => $oBooks->getPopularAuthors(), 'random' => $oBooks->getRandBooks()]);
 }