BxDolSocialSharingQuery.php 627 B

123456789101112131415161718192021222324252627282930
  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 DolphinCore Dolphin Core
  7. * @{
  8. */
  9. bx_import('BxDolDb');
  10. /**
  11. * @see BxDolSocialSharing
  12. */
  13. class BxDolSocialSharingQuery extends BxDolDb
  14. {
  15. function __construct()
  16. {
  17. parent::__construct();
  18. }
  19. function getActiveButtons ()
  20. {
  21. return $this->fromCache('sys_objects_social_sharing', 'getAll', 'SELECT * FROM `sys_objects_social_sharing` WHERE `active` = 1 ORDER BY `order` ASC');
  22. }
  23. }
  24. /** @} */