예제 #1
0
function smwfDIInitializeTables()
{
    global $smwgDIIP;
    require_once $smwgDIIP . '/specials/WebServices/SMW_WebServiceManager.php';
    WebServiceManager::initDatabaseTables();
    require_once $smwgDIIP . '/specials/Materialization/SMW_MaterializationStorageAccess.php';
    $dbAccess = SMWMaterializationStorageAccess::getInstance();
    $db = $dbAccess->getDatabase();
    $db->setup(true);
    return true;
}
예제 #2
0
 public static function rememberWWSD(&$ws)
 {
     self::$mOldWebservice = $ws;
     self::$mOldWebserviceRemembered = true;
 }