Example #1
0
 public function saveState(array &$params, $reflection = null)
 {
     parent::saveState($params, $reflection);
     if ($this->dir !== null) {
         $params['dirId'] = $this->dir->getId();
     }
     if ($this->file !== null) {
         $params['fileId'] = $this->file->getId();
     }
 }
Example #2
0
 /**
  * @param mixed[] $params
  */
 public function saveState(array &$params, $reflection = null)
 {
     $this->sessionSection->sideComponent = $this->sideComponent;
     parent::saveState($params, $reflection);
 }