BxDolSocialSharingQuery.php 604 B

12345678910111213141516171819202122232425262728
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentCore Trident Core
  7. * @{
  8. */
  9. /**
  10. * @see BxDolSocialSharing
  11. */
  12. class BxDolSocialSharingQuery extends BxDolDb
  13. {
  14. function __construct()
  15. {
  16. parent::__construct();
  17. }
  18. function getActiveButtons ()
  19. {
  20. return $this->fromCache('sys_objects_social_sharing', 'getAll', 'SELECT * FROM `sys_objects_social_sharing` WHERE `active` = 1 ORDER BY `order` ASC');
  21. }
  22. }
  23. /** @} */