From 064ee225cc83cb463db99fb17eefcc3e22052012 Mon Sep 17 00:00:00 2001 From: chriskl Date: Fri, 27 Dec 2002 16:31:32 +0000 Subject: [PATCH] when creating a function or type, get all available objects, not just local objects --- public_html/functions.php | 8 ++++---- public_html/types.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public_html/functions.php b/public_html/functions.php index b399253d..abd37a9c 100644 --- a/public_html/functions.php +++ b/public_html/functions.php @@ -3,7 +3,7 @@ /** * Manage functions in a database * - * $Id: functions.php,v 1.6 2002/09/18 19:01:47 xzilla Exp $ + * $Id: functions.php,v 1.7 2002/12/27 16:31:32 chriskl Exp $ */ // Include application functions @@ -159,8 +159,8 @@ if (!isset($_POST['formLanguage'])) $_POST['formLanguage'] = ''; if (!isset($_POST['formDefinition'])) $_POST['formDefinition'] = ''; - $types = &$localData->getTypes(); - $langs = &$localData->getLangs(); + $types = &$localData->getTypes(true); + $langs = &$localData->getLanguages(); echo "

", htmlspecialchars($_REQUEST['database']), ": Functions: Create Function

\n"; $misc->printMsg($msg); @@ -249,7 +249,7 @@ htmlspecialchars($_REQUEST['database']), "&function=", urlencode($func_full), "&function_oid=", $funcs->f[$data->fnFields['fnoid']], "\">Properties\n"; echo "Edit\n"; - echo "Drop\n"; echo "\n"; $funcs->moveNext(); diff --git a/public_html/types.php b/public_html/types.php index b7474d8a..414c6a1b 100644 --- a/public_html/types.php +++ b/public_html/types.php @@ -3,7 +3,7 @@ /** * Manage types in a database * - * $Id: types.php,v 1.1 2002/12/21 11:16:46 chriskl Exp $ + * $Id: types.php,v 1.2 2002/12/27 16:31:32 chriskl Exp $ */ // Include application functions @@ -99,12 +99,12 @@ if (!isset($_POST['typstorage'])) $_POST['typstorage'] = $data->typStorageDef; // Retrieve all functions and types in the database - $funcs = &$localData->getFunctions(); + $funcs = &$localData->getFunctions(true); $types = &$localData->getTypes(); echo "

", htmlspecialchars($_REQUEST['database']), ": {$strTypes}: {$strCreateType}

\n"; $misc->printMsg($msg); - + echo "
\n"; echo "\n"; echo "\n"; -- 2.39.5
{$strName}