public function addEmptyRow($rowId)
    {
        if ($rowId == '')
            throw new Exception('Row ID not specified');
        
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . '/cells/rows/' . $rowId;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        
        //Send request and receive response
        $response = Utils::processCommand($signedURI, 'PUT', '', '');
        $json = json_decode($response);
        if ($json->Code == 200)
            return $json->Row;
        else
            return false;
    }
public function addEmptyRow($rowId)
    {
        if ($rowId == '')
            throw new Exception('Row ID not specified');
        
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . '/cells/rows/' . $rowId;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        
        //Send request and receive response
        $response = Utils::processCommand($signedURI, 'PUT', '', '');
        $json = json_decode($response);
        if ($json->Code == 200)
            return $json->Row;
        else
            return false;
    }
public function addEmptyRow ( $ rowId ) { if ( $ rowId == '' ) throw new Exception ( 'Row ID not specified' ) ; //Build URI $ strURI = Product :: $ baseProductUri . '/cells/' . $ this -> getFileName ( ) . '/worksheets/' . $ this -> worksheetName . '/cells/rows/' . $ rowId ; //Sign URI $ signedURI = Utils :: sign ( $ strURI ) ; //Send request and receive response $ response = Utils :: processCommand ( $ signedURI , 'PUT' , '' , '' ) ; $ json = json_decode ( $ response ) ; if ( $ json -> Code == 200 ) return $ json -> Row ; else return false ; }
Add an Empty Row in a Worksheet

@param integer $rowId ID of the row.

@return object|boolean
@throws Exception
Add an Empty Row in a Worksheet