phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.98,1.99


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.98,1.99
Date: Sun, 13 Oct 2002 18:04:32 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv7959

Modified Files:
        class.categories.inc.php 
Log Message:
update

Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -r1.98 -r1.99
*** class.categories.inc.php    12 Oct 2002 22:33:24 -0000      1.98
--- class.categories.inc.php    13 Oct 2002 22:04:30 -0000      1.99
***************
*** 327,333 ****
                @result $cats  array populated with
                */
!               function return_single($id = '')
                {
!                       $this->db->query('SELECT * FROM phpgw_categories WHERE 
cat_id=' . intval($id),__LINE__,__FILE__);
  
                        list($cat) = $this->db2cats();
--- 327,333 ----
                @result $cats  array populated with
                */
!               function return_single($cat_id = '')
                {
!                       $this->db->query('SELECT * FROM phpgw_categories WHERE 
cat_id=' . intval($cat_id),__LINE__,__FILE__);
  
                        list($cat) = $this->db2cats();
***************
*** 337,341 ****
  
                /*!
!               @function formated_list
                @abstract return into a select box, list or other formats
                @param $format currently only supports select (select box)
--- 337,341 ----
  
                /*!
!               @function formatted_list
                @abstract return into a select box, list or other formats
                @param $format currently only supports select (select box)
***************
*** 345,354 ****
                @result $s array - populated with categories
                */
-               function formatted_list($format,$type = 'all',$selected = 
'',$globals = False,$site_link = 'site')
-               {
-                       return 
$this->formated_list($format,$type,$selected,$globals,$site_link);
-               }
  
!               function formated_list($format,$type = 'all',$selected = 
'',$globals = False,$site_link = 'site')
                {
                        if(is_array($format))
--- 345,350 ----
                @result $s array - populated with categories
                */
  
!               function formatted_list($format,$type = 'all',$selected = 
'',$globals = False,$site_link = 'site')
                {
                        if(is_array($format))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]