Google\Spreadsheet\CellEntry::getRow PHP Method

getRow() public method

Get the row number fo this cell
public getRow ( ) : integer
return integer
    public function getRow()
    {
        return $this->row;
    }

Usage Example

 /**
  * 
  * @param \Google\Spreadsheet\CellEntry $cellEntry
  * @param string                        $index
  * @param \Google\Spreadsheet\CellFeed  $cellFeed
  * 
  * @return string
  */
 protected function createEntry(CellEntry $cellEntry, $index, CellFeed $cellFeed)
 {
     return sprintf('<entry>
             <batch:id>%s</batch:id>
             <batch:operation type="update"/>
             <id>%s</id>
             <link rel="edit" type="application/atom+xml"
               href="%s"/>
             <gs:cell row="%s" col="%s" inputValue="%s"/>
         </entry>', 'A' . $index, $cellFeed->getPostUrl() . "/" . $cellEntry->getCellIdString(), $cellEntry->getEditUrl(), $cellEntry->getRow(), $cellEntry->getColumn(), $cellEntry->getContent());
 }