[prev in list] [next in list] [prev in thread] [next in thread] 

List:       midgard-dev
Subject:    [midgard-dev] [Midgard 1.x 0000014]: $object->listparameters('domain') could be used to get guid.
From:       dev () midgard-project ! org
Date:       2001-08-20 20:25:34
[Download RAW message or body]


The following bug requires your FEEDBACK.
=======================================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000014
=======================================================================
Reporter:        emiliano
Handler:         
=======================================================================
Project:         Midgard 1.x
Bug ID:             0000014
Category:        php4-module
Reproducibility: always
Severity:        feature
Priority:        normal
Status:          feedback
=======================================================================
Date Submitted:   07 Dec 00 04:00 CET
Last Modified:    20 Aug 01 22:25 CEST
=======================================================================
Summary:  $object->listparameters('domain') could be used to get guid.

Description: 
this would be handy - it would enable 
$parameter->guid(), setsitegroup etc. to work
Index: parameter.c
===================================================================
RCS file: /usr/local/cvs/midgard/php4/parameter.c,v
retrieving revision 1.5
diff -u -r1.5 parameter.c
--- parameter.c 2001/04/30 06:03:10 1.5
+++ parameter.c 2001/06/28 06:09:00
@@ -206,7 +206,7 @@
 
  if (zv_domain)
   php_midgard_select("MidgardParameter, return_value,
-               "domain,name,value",
+               "id,domain,name,value",
        "record_extension",
        "tablename=$q AND oid=$d AND domain=$q",
        "name",
@@ -306,6 +306,7 @@
 //      MidgardParameter class constructor
 //      PHP_FALIAS(midgardparameter,   mgd_ctor_parameter,  NULL)
    PHP_FALIAS(fetch,    mgd_oop_list_fetch,        NULL)
+      MIDGARD_OOP_SITEGROUP_METHODS
    {  NULL,             NULL,                      NULL}
 };
 MidgardClass MidgardParameter = {

=======================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@midgard-project.org
For additional commands, e-mail: dev-help@midgard-project.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic