[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.qa.php, 1.1.2.3
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.qa.php, 1.1.2.3 |
Date: |
Fri, 9 Jul 2004 16:49:26 +0200 |
Update of /api
Modified Files:
Branch: proposal-branch
class.qa.php
date: 2004/07/09 14:49:26; author: dcech; state: Exp; lines: +11 -4
Log Message:
Improved login checking routines - this still needs better error reporting
Added support for applications returning errors to browser and SOAP interfaces
Added start and error functions to qa class
=====================================================================
Index: api/class.qa.php
diff -u api/class.qa.php:1.1.2.2 api/class.qa.php:1.1.2.3
--- api/class.qa.php:1.1.2.2 Tue Jul 6 07:15:52 2004
+++ api/class.qa.php Fri Jul 9 14:49:26 2004
@@ -31,6 +31,11 @@
class api_qa
{
+ function start()
+ {
+ return 'This class is a series of methods used to test
and verify methods in the phpGW API';
+ }
+
function _protected()
{
return 'You should *NOT* get this response back';
@@ -51,6 +56,11 @@
$GLOBALS['phpgw']->db->execute("Hi, this is an SQL
query error");
}
+ function error()
+ {
+ return phpgw_error('Hello Tiger, this is an error.');
+ }
+
function boolean()
{
return true;
@@ -75,7 +85,4 @@
{
return base64_encode('Test string');
}
-
-
-
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.qa.php, 1.1.2.3,
nomail <=