Rename read()

This commit is contained in:
Miles Lott 2005-07-29 12:54:28 +00:00
parent 7d2823ce95
commit 183444dfbe
2 changed files with 5 additions and 5 deletions

View File

@ -21,14 +21,14 @@
var $debug = False;
var $public_functions = array(
'_read' => True,
'read' => True,
'process_array' => True
);
var $xml_functions = array();
var $xmlrpc_methods = array();
var $soap_functions = array(
'_read' => array(
'read' => array(
'in' => array('int','int','struct','string','int'),
'out' => array('array')
),
@ -103,7 +103,7 @@
return True;
}
function _read($app,$prefix,$type='user')
function read($app,$prefix,$type='user')
{
switch($type) // set up some class vars to be used when processing the hooks
{
@ -228,7 +228,7 @@
case 'xmlrpc':
$xml_functions = array(
'read' => array(
'function' => '_read',
'function' => 'read',
'signature' => array(array(xmlrpcStruct,xmlrpcString,xmlrpcString,xmlrpcString)),
'docstring' => lang('Read prefs for the specified application.')
),

View File

@ -128,7 +128,7 @@
$this->t->set_var('row_on', $GLOBALS['egw_info']['theme']['row_on']);
$this->t->set_var('row_off',$GLOBALS['egw_info']['theme']['row_off']);
$this->bo->_read($this->check_app(),$this->prefix,$GLOBALS['type']);
$this->bo->read($this->check_app(),$this->prefix,$GLOBALS['type']);
//echo "prefs=<pre>"; print_r($this->bo->prefs); echo "</pre>\n";
$this->notifies = array();