mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
ability to pass arguments to the etemplate method
This commit is contained in:
parent
40012677d7
commit
ad2c99f11e
@ -32,7 +32,7 @@ class sitemgr_module extends Module // the Module class get automatic included b
|
|||||||
/**
|
/**
|
||||||
* generate the module content AND process submitted forms
|
* generate the module content AND process submitted forms
|
||||||
*
|
*
|
||||||
* @param array &$arguments
|
* @param array &$arguments $arguments['arg1']-$arguments['arg3'] will be passed for non-submitted forms (first call)
|
||||||
* @param array $properties
|
* @param array $properties
|
||||||
* @return string the html content
|
* @return string the html content
|
||||||
*/
|
*/
|
||||||
@ -52,6 +52,6 @@ class sitemgr_module extends Module // the Module class get automatic included b
|
|||||||
{
|
{
|
||||||
$ret = ExecMethod('etemplate.etemplate.process_exec');
|
$ret = ExecMethod('etemplate.etemplate.process_exec');
|
||||||
}
|
}
|
||||||
return $css.($ret ? $ret : ExecMethod($this->etemplate_method));
|
return $css.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user