original_string: public function setReadorder($pValue = 0)
      {
          if ($pValue < 0 || $pValue > 2) {
              $pValue = 0;
          }
          if ($this->isSupervisor) {
              $styleArray = $this->getStyleArray(array('readorder' => $pValue));
              $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
          } else {
              $this->readorder = $pValue;
          }
          return $this;
      }
code: public function setReadorder($pValue = 0)
      {
          if ($pValue < 0 || $pValue > 2) {
              $pValue = 0;
          }
          if ($this->isSupervisor) {
              $styleArray = $this->getStyleArray(array('readorder' => $pValue));
              $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
          } else {
              $this->readorder = $pValue;
          }
          return $this;
      }
code_tokens: public function setReadorder ( $ pValue = 0 ) { if ( $ pValue < 0 || $ pValue > 2 ) { $ pValue = 0 ; } if ( $ this -> isSupervisor ) { $ styleArray = $ this -> getStyleArray ( array ( 'readorder' => $ pValue ) ) ; $ this -> getActiveSheet ( ) -> getStyle ( $ this -> getSelectedCells ( ) ) -> applyFromArray ( $ styleArray ) ; } else { $ this -> readorder = $ pValue ; } return $ this ; }
docstring: Set read order
  
  @param int $pValue
  @return PHPExcel_Style_Alignment
docstring_tokens: Set read order