public function copyRows($sourceRowIndex = 1, $destRowIndex = 1, $rowNumber = 1)
    {
        //check whether worksheet name is set or not
        if ($this->worksheetName == '')
            throw new Exception('Worksheet name not specified');
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() .
            '/worksheets/' . $this->worksheetName . '/cells/rows/copy?sourceRowIndex=' . $sourceRowIndex . '&destinationRowIndex=' . $destRowIndex . '&rowNumber=' . $rowNumber;
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'POST', '', '');
        $json = json_decode($responseStream);
        if ($json->Code == 200)
            return true;
        else
            return false;

    }
public function copyRows($sourceRowIndex = 1, $destRowIndex = 1, $rowNumber = 1)
    {
        //check whether worksheet name is set or not
        if ($this->worksheetName == '')
            throw new Exception('Worksheet name not specified');
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() .
            '/worksheets/' . $this->worksheetName . '/cells/rows/copy?sourceRowIndex=' . $sourceRowIndex . '&destinationRowIndex=' . $destRowIndex . '&rowNumber=' . $rowNumber;
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'POST', '', '');
        $json = json_decode($responseStream);
        if ($json->Code == 200)
            return true;
        else
            return false;

    }
public function copyRows ( $ sourceRowIndex = 1 , $ destRowIndex = 1 , $ rowNumber = 1 ) { //check whether worksheet name is set or not if ( $ this -> worksheetName == '' ) throw new Exception ( 'Worksheet name not specified' ) ; $ strURI = Product :: $ baseProductUri . '/cells/' . $ this -> getFileName ( ) . '/worksheets/' . $ this -> worksheetName . '/cells/rows/copy?sourceRowIndex=' . $ sourceRowIndex . '&destinationRowIndex=' . $ destRowIndex . '&rowNumber=' . $ rowNumber ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'POST' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; if ( $ json -> Code == 200 ) return true ; else return false ; }
Copy rows in a worksheet.

@param integer $sourceRowIndex
@param integer $destRowIndex
@param integer $rowNumber

@return boolean
@throws Exception
Copy rows in a worksheet .