1: <?php
2:
3: /**
4: * Xoops Frameworks addon: art
5: *
6: * @copyright (c) 2000-2016 XOOPS Project (www.xoops.org)
7: * @license GNU GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
8: * @author Taiwen Jiang <phppp@users.sourceforge.net>
9: * @since 1.00
10: * @package Frameworks
11: */
12: class xoopsart
13: {
14: /**
15: *
16: */
17: public function __construct()
18: {
19: }
20:
21: /**
22: * Load a collective functions of Frameworks
23: *
24: * @param string $group name of the collective functions, empty for functions.php
25: * @return bool
26: */
27: public function loadFunctions($group = '')
28: {
29: return include_once FRAMEWORKS_ROOT_PATH . "/art/functions.{$group}" . (empty($group) ? '' : '.') . 'php';
30: }
31: }
32: