public function setBreak($pCell = 'A1', $pBreak = PHPExcel_Worksheet::BREAK_NONE)
    {
        // Uppercase coordinate
        $pCell = strtoupper($pCell);

        if ($pCell != '') {
        	if ($pBreak == PHPExcel_Worksheet::BREAK_NONE) {
        		if (isset($this->_breaks[$pCell])) {
	            	unset($this->_breaks[$pCell]);
        		}
        	} else {
	            $this->_breaks[$pCell] = $pBreak;
	        }
        } else {
            throw new PHPExcel_Exception('No cell coordinate specified.');
        }

        return $this;
    }
public function setBreak($pCell = 'A1', $pBreak = PHPExcel_Worksheet::BREAK_NONE)
    {
        // Uppercase coordinate
        $pCell = strtoupper($pCell);

        if ($pCell != '') {
        	if ($pBreak == PHPExcel_Worksheet::BREAK_NONE) {
        		if (isset($this->_breaks[$pCell])) {
	            	unset($this->_breaks[$pCell]);
        		}
        	} else {
	            $this->_breaks[$pCell] = $pBreak;
	        }
        } else {
            throw new PHPExcel_Exception('No cell coordinate specified.');
        }

        return $this;
    }
public function setBreak ( $ pCell = 'A1' , $ pBreak = PHPExcel_Worksheet :: BREAK_NONE ) { // Uppercase coordinate $ pCell = strtoupper ( $ pCell ) ; if ( $ pCell != '' ) { if ( $ pBreak == PHPExcel_Worksheet :: BREAK_NONE ) { if ( isset ( $ this -> _breaks [ $ pCell ] ) ) { unset ( $ this -> _breaks [ $ pCell ] ) ; } } else { $ this -> _breaks [ $ pCell ] = $ pBreak ; } } else { throw new PHPExcel_Exception ( 'No cell coordinate specified.' ) ; } return $ this ; }
Set break on a cell

@param string $pCell Cell coordinate (e.g. A1)
@param int $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*)
@throws PHPExcel_Exception
@return PHPExcel_Worksheet
Set break on a cell