protected function load($model, $request)
    {
        $model->load($request->getQueryParams());

        return $model->load($request->getBodyParams());
    }
protected function load($model, $request)
    {
        $model->load($request->getQueryParams());

        return $model->load($request->getBodyParams());
    }
protected function load ( $ model , $ request ) { $ model -> load ( $ request -> getQueryParams ( ) ) ; return $ model -> load ( $ request -> getBodyParams ( ) ) ; }
Loads query and post params into the model.
@param ActiveRecord $model
@param Request $request
@return bool true if post params were loaded.
Loads query and post params into the model .