wrapper/Excel.php
public function setValue($cell, $row, $value, $border=false){
        $this->engine->getActiveSheet()->setCellValueByColumnAndRow($cell, $row, $value);
        $this->x = $this->getColumnName($cell);
        $this->y = $row;
        if($border){
            $this->engine->getActiveSheet()->getStyle("{$this->x}{$this->y}")->applyFromArray($this->style);
        }
        return $this;
    }
public function setValue($cell, $row, $value, $border=false){
        $this->engine->getActiveSheet()->setCellValueByColumnAndRow($cell, $row, $value);
        $this->x = $this->getColumnName($cell);
        $this->y = $row;
        if($border){
            $this->engine->getActiveSheet()->getStyle("{$this->x}{$this->y}")->applyFromArray($this->style);
        }
        return $this;
    }
public function setValue ( $ cell , $ row , $ value , $ border = false ) { $ this -> engine -> getActiveSheet ( ) -> setCellValueByColumnAndRow ( $ cell , $ row , $ value ) ; $ this -> x = $ this -> getColumnName ( $ cell ) ; $ this -> y = $ row ; if ( $ border ) { $ this -> engine -> getActiveSheet ( ) -> getStyle ( "{$this->x}{$this->y}" ) -> applyFromArray ( $ this -> style ) ; } return $ this ; }
Set value in a cell
@param int     $cell   cell position (x start in 0)
@param int     $row    row position (Y start en 1)
@param string  $value  value to set
@param boolean $border active/inactive cell borders
@return  Excel
Set value in a cell