|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_Gdata |
|
17 * @subpackage Spreadsheets |
|
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: ColCount.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
21 */ |
|
22 |
|
23 /** |
|
24 * @see Zend_Gdata_Entry |
|
25 */ |
|
26 require_once 'Zend/Gdata/Entry.php'; |
|
27 |
|
28 /** |
|
29 * @see Zend_Gdata_Extension |
|
30 */ |
|
31 require_once 'Zend/Gdata/Extension.php'; |
|
32 |
|
33 |
|
34 /** |
|
35 * Concrete class for working with colCount elements. |
|
36 * |
|
37 * @category Zend |
|
38 * @package Zend_Gdata |
|
39 * @subpackage Spreadsheets |
|
40 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
41 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
42 */ |
|
43 class Zend_Gdata_Spreadsheets_Extension_ColCount extends Zend_Gdata_Extension |
|
44 { |
|
45 |
|
46 protected $_rootElement = 'colCount'; |
|
47 protected $_rootNamespace = 'gs'; |
|
48 |
|
49 /** |
|
50 * Constructs a new Zend_Gdata_Spreadsheets_Extension_ColCount element. |
|
51 * @param string $text (optional) Text contents of the element. |
|
52 */ |
|
53 public function __construct($text = null) |
|
54 { |
|
55 $this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces); |
|
56 parent::__construct(); |
|
57 $this->_text = $text; |
|
58 } |
|
59 } |