ColCount.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * @see Zend_Gdata_Entry
  24. */
  25. require_once 'Zend/Gdata/Entry.php';
  26. /**
  27. * @see Zend_Gdata_Extension
  28. */
  29. require_once 'Zend/Gdata/Extension.php';
  30. /**
  31. * Concrete class for working with colCount elements.
  32. *
  33. * @category Zend
  34. * @package Zend_Gdata
  35. * @subpackage Spreadsheets
  36. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  37. * @license http://framework.zend.com/license/new-bsd New BSD License
  38. */
  39. class Zend_Gdata_Spreadsheets_Extension_ColCount extends Zend_Gdata_Extension
  40. {
  41. protected $_rootElement = 'colCount';
  42. protected $_rootNamespace = 'gs';
  43. /**
  44. * Constructs a new Zend_Gdata_Spreadsheets_Extension_ColCount element.
  45. * @param string $text (optional) Text contents of the element.
  46. */
  47. public function __construct($text = null)
  48. {
  49. $this->registerAllNamespaces(Zend_Gdata_Spreadsheets::$namespaces);
  50. parent::__construct();
  51. $this->_text = $text;
  52. }
  53. }