setWorklistDisplayOrderForUser() public méthode

public setWorklistDisplayOrderForUser ( $user, array $worklist_ids = [] ) : boolean
$user
$worklist_ids array
Résultat boolean
 /**
  * Update the worklist display order for the current user based on the submitted ids.
  */
 public function actionManualUpdateDisplayOrder()
 {
     $worklist_ids = @$_POST['item_ids'] ? explode(',', $_POST['item_ids']) : array();
     if (!$this->manager->setWorklistDisplayOrderForUser(Yii::app()->user, $worklist_ids)) {
         OELog::log(print_r($this->manager->getErrors(), true));
         throw new Exception('Unable to save new display order for worklists');
     }
     $this->redirect('/worklist/manual');
 }