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