Cheetah
ChWsbSocialSharingQuery.php
Go to the documentation of this file.
1 <?php
2 
8 ch_import('ChWsbDb');
9 
14 {
15 
16  function __construct()
17  {
18  parent::__construct();
19  }
20 
21  function getActiveButtons ()
22  {
23  return $this->fromCache('sys_objects_social_sharing', 'getAll', 'SELECT * FROM `sys_objects_social_sharing` WHERE `active` = 1 ORDER BY `order` ASC');
24  }
25 
26 }
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
php
ChWsbDb\fromCache
fromCache($sName, $sFunc)
Definition: ChWsbDb.php:534
ChWsbSocialSharingQuery\__construct
__construct()
Definition: ChWsbSocialSharingQuery.php:16
ChWsbSocialSharingQuery\getActiveButtons
getActiveButtons()
Definition: ChWsbSocialSharingQuery.php:21
ChWsbSocialSharingQuery
Definition: ChWsbSocialSharingQuery.php:14
ChWsbDb
Definition: ChWsbDb.php:13