BxBaseChart.php 577 B

123456789101112131415161718192021222324252627
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaBaseView UNA Base Representation Classes
  7. * @{
  8. */
  9. /**
  10. * Chart representation.
  11. * @see BxDolChart
  12. */
  13. class BxBaseChart extends BxDolChart
  14. {
  15. public function __construct ($aObject, $oTemplate)
  16. {
  17. parent::__construct ($aObject);
  18. if ($oTemplate)
  19. $this->_oTemplate = $oTemplate;
  20. else
  21. $this->_oTemplate = BxDolTemplate::getInstance();
  22. }
  23. }
  24. /** @} */