import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -35,6 +35,7 @@ require_once 'Zend/Gdata/Spreadsheets/Extension/Cell.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -51,9 +52,7 @@ class Zend_Gdata_Spreadsheets_CellEntry extends Zend_Gdata_Entry
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}

View File

@ -39,6 +39,7 @@ require_once 'Zend/Gdata/Spreadsheets/Extension/ColCount.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -79,9 +80,7 @@ class Zend_Gdata_Spreadsheets_CellFeed extends Zend_Gdata_Feed
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}

View File

@ -37,6 +37,7 @@ require_once('Zend/Gdata/Query.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

View File

@ -37,6 +37,7 @@ require_once('Zend/Gdata/Query.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

View File

@ -14,6 +14,7 @@
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Entry.php 3941 2007-03-14 21:36:13Z darby $
@ -35,6 +36,7 @@ require_once 'Zend/Gdata/Extension.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -82,9 +84,7 @@ class Zend_Gdata_Spreadsheets_Extension_Cell extends Zend_Gdata_Extension
*/
public function __construct($text = null, $row = null, $col = null, $inputValue = null, $numericValue = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct();
$this->_text = $text;
$this->_row = $row;

View File

@ -14,6 +14,7 @@
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Entry.php 3941 2007-03-14 21:36:13Z darby $
@ -35,6 +36,7 @@ require_once 'Zend/Gdata/Extension.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -50,9 +52,7 @@ class Zend_Gdata_Spreadsheets_Extension_ColCount extends Zend_Gdata_Extension
*/
public function __construct($text = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct();
$this->_text = $text;
}

View File

@ -14,6 +14,7 @@
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Entry.php 3941 2007-03-14 21:36:13Z darby $
@ -35,6 +36,7 @@ require_once 'Zend/Gdata/Extension.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -51,9 +53,7 @@ class Zend_Gdata_Spreadsheets_Extension_Custom extends Zend_Gdata_Extension
*/
public function __construct($column = null, $value = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct();
$this->_text = $value;
$this->_rootElement = $column;

View File

@ -14,6 +14,7 @@
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Entry.php 3941 2007-03-14 21:36:13Z darby $
@ -35,6 +36,7 @@ require_once 'Zend/Gdata/Extension.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -50,9 +52,7 @@ class Zend_Gdata_Spreadsheets_Extension_RowCount extends Zend_Gdata_Extension
*/
public function __construct($text = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct();
$this->_text = $text;
}

View File

@ -34,7 +34,8 @@ require_once 'Zend/Gdata/Spreadsheets/Extension/Custom.php';
* Concrete class for working with List entries.
*
* @category Zend
* @package Zend_Gdata
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -49,7 +50,7 @@ class Zend_Gdata_Spreadsheets_ListEntry extends Zend_Gdata_Entry
* @var array
*/
protected $_custom = array();
/**
* List of custom row elements (Zend_Gdata_Spreadsheets_Extension_Custom),
* indexed by element name.
@ -63,9 +64,7 @@ class Zend_Gdata_Spreadsheets_ListEntry extends Zend_Gdata_Entry
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}
@ -128,7 +127,7 @@ class Zend_Gdata_Spreadsheets_ListEntry extends Zend_Gdata_Entry
}
/**
* Sets the row elements contained by this list entry. If any
* Sets the row elements contained by this list entry. If any
* custom row elements were previously stored, they will be overwritten.
* @param array $custom The custom row elements to be contained in this
* list entry.

View File

@ -29,6 +29,7 @@ require_once 'Zend/Gdata/Feed.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -55,9 +56,7 @@ class Zend_Gdata_Spreadsheets_ListFeed extends Zend_Gdata_Feed
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}

View File

@ -37,6 +37,7 @@ require_once('Zend/Gdata/Query.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

View File

@ -30,6 +30,7 @@ require_once 'Zend/Gdata/Entry.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,16 +45,14 @@ class Zend_Gdata_Spreadsheets_SpreadsheetEntry extends Zend_Gdata_Entry
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}
/**
* Returns the worksheets in this spreadsheet
*
* @return Zend_Gdata_Spreadsheets_WorksheetFeed The worksheets
* @return Zend_Gdata_Spreadsheets_WorksheetFeed The worksheets
*/
public function getWorksheets()
{

View File

@ -29,6 +29,7 @@ require_once 'Zend/Gdata/Feed.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -55,9 +56,7 @@ class Zend_Gdata_Spreadsheets_SpreadsheetFeed extends Zend_Gdata_Feed
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}

View File

@ -38,8 +38,9 @@ require_once 'Zend/Gdata/Spreadsheets/Extension/ColCount.php';
/**
* Concrete class for working with Worksheet entries.
*
* @category Zend
* @package Zend_Gdata
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -58,9 +59,7 @@ class Zend_Gdata_Spreadsheets_WorksheetEntry extends Zend_Gdata_Entry
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}
@ -167,17 +166,17 @@ class Zend_Gdata_Spreadsheets_WorksheetEntry extends Zend_Gdata_Entry
}
/**
* Returns the content of all cells as an associative array, indexed
* off the cell location (ie 'A1', 'D4', etc). Each element of
* the array is an associative array with a 'value' and a 'function'.
* Only non-empty cells are returned by default. 'range' is the
* Returns the content of all cells as an associative array, indexed
* off the cell location (ie 'A1', 'D4', etc). Each element of
* the array is an associative array with a 'value' and a 'function'.
* Only non-empty cells are returned by default. 'range' is the
* value of the 'range' query parameter specified at:
* http://code.google.com/apis/spreadsheets/reference.html#cells_Parameters
*
* @param string $range The range of cells to retrieve
* @param boolean $empty Whether to retrieve empty cells
* @return array An associative array of cells
*/
*/
public function getContentsAsCells($range = null, $empty = false)
{
$service = new Zend_Gdata_Spreadsheets($this->getHttpClient());

View File

@ -15,7 +15,7 @@
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -29,6 +29,7 @@ require_once 'Zend/Gdata/Feed.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Spreadsheets
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -41,9 +42,7 @@ class Zend_Gdata_Spreadsheets_WorksheetFeed extends Zend_Gdata_Feed
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
parent::__construct($element);
}