PHP 클래스 Google\Spreadsheet\SpreadsheetFeed

저자: Asim Liaquat ([email protected])
파일 보기 프로젝트 열기: asimlqt/php-google-spreadsheet-client 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$xml SimpleXMLElement The spreadsheet feed xml object

공개 메소드들

메소드 설명
__construct ( SimpleXMLElement $xml ) Initializes the spreadsheet feed object
getById ( string $id ) : Spreadsheet Gets a spreadhseet from the feed by its ID in google drive.
getByTitle ( string $title ) : Spreadsheet Gets a spreadhseet from the feed by its title. i.e. the name of the spreadsheet in google drive. This method will return only the first spreadsheet found with the specified title.
getEntries ( ) : Spreadsheet[] Get all spreadsheets in the feed
getId ( ) : string Get the feed id. Returns the full url.
getXml ( ) : integer Get the raw XML

메소드 상세

__construct() 공개 메소드

Initializes the spreadsheet feed object
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement

getById() 공개 메소드

Gets a spreadhseet from the feed by its ID in google drive.
public getById ( string $id ) : Spreadsheet
$id string
리턴 Spreadsheet

getByTitle() 공개 메소드

Gets a spreadhseet from the feed by its title. i.e. the name of the spreadsheet in google drive. This method will return only the first spreadsheet found with the specified title.
public getByTitle ( string $title ) : Spreadsheet
$title string
리턴 Spreadsheet

getEntries() 공개 메소드

Get all spreadsheets in the feed
public getEntries ( ) : Spreadsheet[]
리턴 Spreadsheet[]

getId() 공개 메소드

Get the feed id. Returns the full url.
public getId ( ) : string
리턴 string

getXml() 공개 메소드

Get the raw XML
public getXml ( ) : integer
리턴 integer

프로퍼티 상세

$xml 보호되어 있는 프로퍼티

The spreadsheet feed xml object
protected SimpleXMLElement $xml
리턴 SimpleXMLElement