public function clearCellsContents($range)
    {
        if ($range == '')
            throw new Exception('Range not specified');
        
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . 
                  '/cells/clearcontents?range=' . $range;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        
        //Send request and receive response
        $response = Utils::processCommand($signedURI, 'POST', '', '');
        $json = json_decode($response);
        if ($json->Code == 200)
            return true;
        else
            return false;
    }
public function clearCellsContents($range)
    {
        if ($range == '')
            throw new Exception('Range not specified');
        
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . 
                  '/cells/clearcontents?range=' . $range;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        
        //Send request and receive response
        $response = Utils::processCommand($signedURI, 'POST', '', '');
        $json = json_decode($response);
        if ($json->Code == 200)
            return true;
        else
            return false;
    }
public function clearCellsContents ( $ range ) { if ( $ range == '' ) throw new Exception ( 'Range not specified' ) ; //Build URI $ strURI = Product :: $ baseProductUri . '/cells/' . $ this -> getFileName ( ) . '/worksheets/' . $ this -> worksheetName . '/cells/clearcontents?range=' . $ range ; //Sign URI $ signedURI = Utils :: sign ( $ strURI ) ; //Send request and receive response $ response = Utils :: processCommand ( $ signedURI , 'POST' , '' , '' ) ; $ json = json_decode ( $ response ) ; if ( $ json -> Code == 200 ) return true ; else return false ; }
Clear Contents and Styles of Cells in Excel Worksheet

@param type $range Range of cells.

@return boolean
@throws Exception
Clear Contents and Styles of Cells in Excel Worksheet