phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/core_functions.inc.php, 1.1.1.1.2.28


From: nomail
Subject: [Phpgroupware-cvs] api/core_functions.inc.php, 1.1.1.1.2.28
Date: Mon, 5 Jul 2004 08:20:06 +0200

Update of /api
Modified Files:
        Branch: proposal-branch
          core_functions.inc.php

date: 2004/07/05 06:20:06;  author: jengo;  state: Exp;  lines: +4 -1

Log Message:
Added array type
=====================================================================
Index: api/core_functions.inc.php
diff -u api/core_functions.inc.php:1.1.1.1.2.27 
api/core_functions.inc.php:1.1.1.1.2.28
--- api/core_functions.inc.php:1.1.1.1.2.27     Wed Jun 30 18:39:33 2004
+++ api/core_functions.inc.php  Mon Jul  5 06:20:06 2004
@@ -643,6 +643,9 @@
                        case 'any': /* allows anything thru. VERY DANGEROUS */
                                return true;
                                break;
+                       case 'array':
+                               $result = is_array($input);
+                               break;
                        case 'paranoid': /* just letters and numbers */
                                $result = preg_match("/^[a-zA-Z0-9]+$/", 
$input);
                                break;




reply via email to

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