fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10276] api: autocomplete as custom datatype


From: Sigurd Nes
Subject: [Fmsystem-commits] [10276] api: autocomplete as custom datatype
Date: Sat, 20 Oct 2012 13:35:43 +0000

Revision: 10276
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10276
Author:   sigurdne
Date:     2012-10-20 13:35:43 +0000 (Sat, 20 Oct 2012)
Log Message:
-----------
api: autocomplete as custom datatype

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.custom_fields.inc.php

Modified: trunk/phpgwapi/inc/class.custom_fields.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.custom_fields.inc.php      2012-10-20 13:35:04 UTC 
(rev 10275)
+++ trunk/phpgwapi/inc/class.custom_fields.inc.php      2012-10-20 13:35:43 UTC 
(rev 10276)
@@ -123,6 +123,7 @@
                                'bolean'=> 'Bolean',
                                'custom1'=> lang('Custom listbox'),//Custom 
listbox to generic lists
                                'custom2'=> lang('Custom lookup'),//Custom 
lookup to generic lists
+                               'custom3'=> lang('Custom 
autocomplete::integer'),//Custom lookup to generic lists
                        );
 
                        $this->_oProc                   = 
createObject('phpgwapi.schema_proc', 
$GLOBALS['phpgw_info']['server']['db_type']);
@@ -1678,6 +1679,7 @@
                                'bolean'        => 'int',
                                'custom1'       => 'int',
                                'custom2'       => 'int',
+                               'custom3'       => 'int',
                        );
 
                        if ( !isset($datatype_text[$datatype]) )
@@ -1712,7 +1714,8 @@
                                'event'         => 4,
                                'bolean'        => 2,
                                'custom1'       => 4,
-                               'custom2'       => 4
+                               'custom2'       => 4,
+                               'custom3'       => 4
                        );
 
                        if ( !isset($datatype_precision[$datatype]) )




reply via email to

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