getNumFound(); $totalSamples = Carousel::getCountsSamples (); $totalEnviroSamples = Carousel::getCountsEnviroSamples (); $totalVouchers = Carousel::getCountsVouchers (); $totalSpecies = Carousel::getCountsSpecies (); // $nbCoreMembers = Carousel::getNbCoreMembers (); $nbCoreMembers = '30'; return $this->render ( 'index', [ 'counts' => "", 'totalDocs' => $countDocs, 'contentleft' => "", 'contentright' => "", 'news' => $news, 'totalRecords' => "", 'totalSamples' => $totalSamples, 'totalEnviroSamples' => "", 'totalVouchers' => "", 'totalSpecies' => $totalSpecies, 'nbCoreMembers'=>$nbCoreMembers ] ); } public function getCounts() { } public function actionFeedback() {} public function actionWf() { $page = $_GET['p']; $pagetext = WikiAPI::getFullPage($page); if (Yii::$app->request->isPjax) { throw new \ErrorException (); return $this->renderPartial ( 'wf', [ 'pagetext' => $pagetext ]); } else { return $this->render ( 'wf', [ 'pagetext' => $pagetext ] ); } } }