Ejemplo n.º 1
0
 /**
  * Action called in the event that the mass edit quantity is larger than the pageSize.
  * This action is called after the pageSize quantity has been updated and continues to be
  * called until the mass edit action is complete.  For example, if there are 20 records to update
  * and the pageSize is 5, then this action will be called 3 times.  The first 5 are updated when
  * the actionMassEdit is called upon the initial form submission.
  */
 public function actionMassEditProgressSave()
 {
     $pageSize = Yii::app()->pagination->resolveActiveForCurrentUserByType('massEditProgressPageSize');
     $user = new User(false);
     $dataProvider = $this->getDataProviderByResolvingSelectAllFromGet(new UsersSearchForm($user), $pageSize, Yii::app()->user->userModel->id, null, 'UsersSearchView');
     $this->processMassEditProgressSave('User', $pageSize, UsersModule::getModuleLabelByTypeAndLanguage('Plural'), $dataProvider);
 }