1
0

BxDolPaymentsQuery.php 650 B

12345678910111213141516171819202122232425262728293031
  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 UnaCore UNA Core
  7. * @{
  8. */
  9. /**
  10. * @see BxDolPayments
  11. */
  12. class BxDolPaymentsQuery extends BxDolDb
  13. {
  14. public function __construct()
  15. {
  16. parent::__construct();
  17. }
  18. public function getObjects()
  19. {
  20. $sQuery = "SELECT * FROM `sys_objects_payments` WHERE 1";
  21. $aObjects = $this->fromCache('sys_objects_payments', 'getAll', $sQuery);
  22. if(empty($aObjects) || !is_array($aObjects))
  23. return array();
  24. return $aObjects;
  25. }
  26. }
  27. /** @} */