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 $debug = False;
var $public_functions = array( var $public_functions = array(
'_read' => True, 'read' => True,
'process_array' => True 'process_array' => True
); );
var $xml_functions = array(); var $xml_functions = array();
var $xmlrpc_methods = array(); var $xmlrpc_methods = array();
var $soap_functions = array( var $soap_functions = array(
'_read' => array( 'read' => array(
'in' => array('int','int','struct','string','int'), 'in' => array('int','int','struct','string','int'),
'out' => array('array') 'out' => array('array')
), ),
@ -103,7 +103,7 @@
return True; 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 switch($type) // set up some class vars to be used when processing the hooks
{ {
@ -228,7 +228,7 @@
case 'xmlrpc': case 'xmlrpc':
$xml_functions = array( $xml_functions = array(
'read' => array( 'read' => array(
'function' => '_read', 'function' => 'read',
'signature' => array(array(xmlrpcStruct,xmlrpcString,xmlrpcString,xmlrpcString)), 'signature' => array(array(xmlrpcStruct,xmlrpcString,xmlrpcString,xmlrpcString)),
'docstring' => lang('Read prefs for the specified application.') '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_on', $GLOBALS['egw_info']['theme']['row_on']);
$this->t->set_var('row_off',$GLOBALS['egw_info']['theme']['row_off']); $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"; //echo "prefs=<pre>"; print_r($this->bo->prefs); echo "</pre>\n";
$this->notifies = array(); $this->notifies = array();