[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.bop_of_town.php, 1.1.1.6
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.bop_of_town.php, 1.1.1.6 |
Date: |
Sun, 23 May 2004 07:36:08 -0000 |
Update of /property
Modified Files:
Branch:
class.bop_of_town.php
date: 2004/04/29 12:49:48; author: sigurdne; state: Exp; lines: +2 -53
Log Message:
no message
=====================================================================
Index: property/class.bop_of_town.php
diff -u property/class.bop_of_town.php:1.1.1.5
property/class.bop_of_town.php:1.1.1.6
--- property/class.bop_of_town.php:1.1.1.5 Wed Apr 28 21:15:15 2004
+++ property/class.bop_of_town.php Thu Apr 29 12:49:48 2004
@@ -58,6 +58,7 @@
$this->currentapp = 'property';
//$GLOBALS['phpgw_data']['flags']['req_app'];
$this->so =
CreateObject($this->currentapp.'_sop_of_town');
$this->fm_session =
CreateObject($this->currentapp.'_session');
+ $this->bocommon =
CreateObject($this->currentapp.'_bocommon');
if ($session)
{
@@ -109,58 +110,6 @@
if(isset($allrows))
{
$this->allrows = $allrows;
- }
- }
-
- function list_methods($_type='xmlrpc')
- {
- /*
- This handles introspection or discovery by the logged
in client,
- in which case the input might be an array. The
server always calls
- this function to fill the server dispatch map using a
string.
- */
- if (is_array($_type))
- {
- $_type = $_type['type'] ? $_type['type'] :
$_type[0];
- }
- switch($_type)
- {
- case 'xmlrpc':
- $xml_functions = array(
- 'read' => array(
- 'function' => 'read',
- 'signature' =>
array(array(xmlrpcInt,xmlrpcStruct)),
- 'docstring' =>
lang('Read a single entry by passing the id and fieldlist.')
- ),
- 'save' => array(
- 'function' => 'save',
- 'signature' =>
array(array(xmlrpcStruct,xmlrpcStruct)),
- 'docstring' =>
lang('Update a single entry by passing the fields.')
- ),
- 'delete' => array(
- 'function' => 'delete',
- 'signature' =>
array(array(xmlrpcBoolean,xmlrpcInt)),
- 'docstring' =>
lang('Delete a single entry by passing the id.')
- ),
- 'list' => array(
- 'function' => '_list',
- 'signature' =>
array(array(xmlrpcStruct,xmlrpcStruct)),
- 'docstring' =>
lang('Read a list of entries.')
- ),
- 'list_methods' => array(
- 'function' =>
'list_methods',
- 'signature' =>
array(array(xmlrpcStruct,xmlrpcString)),
- 'docstring' =>
lang('Read this list of methods.')
- )
- );
- return $xml_functions;
- break;
- case 'soap':
- return $this->soap_functions;
- break;
- default:
- return array();
- break;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.bop_of_town.php, 1.1.1.6,
nomail <=