function holiday1Action() { $schoolModel = new SchoolModel(); $count = $schoolModel->bannerData(2780, 0); //print_r($count); $bCount = $count['boughtCount']; $cCount = $this->get('cCount'); $this->assign('bCount', $bCount); $this->assign('cCount', $cCount); }