BizController::actionIndex PHP Méthode

actionIndex() public méthode

商家列表
public actionIndex ( )
    public function actionIndex()
    {
        $model = new SellBizSFM();
        $form = BootForm::createForm($model->getFMConfig(), $model);
        $query = $model->getQuery();
        //获取data提供器
        $dataProvider = new QueryDataProvider($query, array('pagination' => array('pageSize' => 10)));
        $this->render('index', array('form' => $form, 'dataProvider' => $dataProvider));
    }