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