Example #1
0
 *  consequential damages (including, but not limited to, procurement of        *
 *  substitute goods or services; loss of use, data, or profits; or business    *
 *  interruption) however caused and on any theory of liability, whether in     *
 *  contract, strict liability, or tort (including negligence or otherwise)     *
 *  arising in any way out of the use of this software, even if advised of the  *
 *  possibility of such damage.                                                 *
 *                                                                              *
 ********************************************************************************/
/** SETUP THE FILE LOCATION MANAGER **/
unset($HUB_FLM);
require_once "core/filelocationmanager.class.php";
// instantiate the file location manager
if (isset($CFG->uitheme)) {
    $HUB_FLM = new FileLocationManager($CFG->uitheme);
} else {
    $HUB_FLM = new FileLocationManager();
}
global $HUB_FLM;
/** SETUP STATIC CONFIG VARIABLES **/
$CFG->VERSION = '1.0';
/** NODE TYPES **/
$CFG->BASE_TYPES = array("Issue", "Solution", "Idea");
$CFG->EVIDENCE_TYPES = array("Pro", "Con");
$CFG->EVIDENCE_TYPES_DEFAULT = "Pro";
/** LINK TYPES **/
$CFG->LINK_SOLUTION_ISSUE = 'responds to';
$CFG->LINK_PRO_SOLUTION = 'supports';
$CFG->LINK_CON_SOLUTION = 'challenges';
$CFG->LINK_COMMENT_NODE = 'is related to';
$CFG->LINK_BUILT_FROM = 'built from';
$CFG->LINK_RESOURCE_NODE = 'is related to';
Example #2
0
 *  consequential damages (including, but not limited to, procurement of        *
 *  substitute goods or services; loss of use, data, or profits; or business    *
 *  interruption) however caused and on any theory of liability, whether in     *
 *  contract, strict liability, or tort (including negligence or otherwise)     *
 *  arising in any way out of the use of this software, even if advised of the  *
 *  possibility of such damage.                                                 *
 *                                                                              *
 ********************************************************************************/
/** SETUP THE FILE LOCATION MANAGER **/
unset($HUB_FLM);
require_once "core/filelocationmanager.class.php";
// instantiate the file location manager
if (isset($CFG->uitheme)) {
    $HUB_FLM = new FileLocationManager($CFG->uitheme);
} else {
    $HUB_FLM = new FileLocationManager();
}
global $HUB_FLM;
/** SETUP STATIC CONFIG VARIABLES **/
$CFG->VERSION = '1.0';
/** NODE TYPES **/
$CFG->BASE_TYPES = array("Challenge", "Issue", "Solution", "Idea", "Comment", "Map");
$CFG->EVIDENCE_TYPES = array("Argument", "Pro", "Con");
$CFG->EVIDENCE_TYPES_DEFAULT = "Argument";
/** LINK TYPES **/
$CFG->LINK_SOLUTION_ISSUE = 'responds to';
$CFG->LINK_PRO_SOLUTION = 'supports';
$CFG->LINK_CON_SOLUTION = 'challenges';
$CFG->LINK_COMMENT_NODE = 'is related to';
$CFG->LINK_COMMENT_BUILT_FROM = 'built from';
//not used but needed if merge nodes added.