public function run() { $this->controller->pageTitle = "Companies"; $companylist = new CCommunity(); $result = $companylist->getCompanyList(); if ($result['code'] == 200) { $this->controller->bodyCss = 'whitecolor'; $this->controller->render('companylist', array('list' => $result['data'])); } }