Google\Spreadsheet\Worksheet::__construct PHP 메소드

__construct() 공개 메소드

Initializes the worksheet object.
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement
    public function __construct(\SimpleXMLElement $xml)
    {
        $xml->registerXPathNamespace('gs', 'http://schemas.google.com/spreadsheets/2006');
        $this->xml = $xml;
    }