Merge pull request #40 from marc1706/master
Add possibility to define a different class for callback functions
This commit is contained in:
@@ -91,7 +91,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>600</time>
|
<time>600</time>
|
||||||
<target-version>3.0.9</target-version>
|
<target-version>3.0.10</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
@@ -101,8 +101,8 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
|
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
|
||||||
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2</link>
|
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2</link>
|
||||||
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für subsilver2</link>
|
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für subsilver2</link>
|
||||||
<link type="contrib" lang="en" href="contrib/update_106_to_200b1/update.xml">Manual for Updating B3P 1.0.6 to 2.0.0b2</link>
|
<link type="contrib" lang="en" href="contrib/update_106_to_200b2/update.xml">Manual for Updating B3P 1.0.6 to 2.0.0b2</link>
|
||||||
<link type="contrib" lang="de" href="contrib/update_106_to_200b1/update.xml">Anleitung für das Aktualisieren von B3P 1.0.6 zu 2.0.0b2</link>
|
<link type="contrib" lang="de" href="contrib/update_106_to_200b2/update.xml">Anleitung für das Aktualisieren von B3P 1.0.6 zu 2.0.0b2</link>
|
||||||
</link-group>
|
</link-group>
|
||||||
<history>
|
<history>
|
||||||
<entry>
|
<entry>
|
||||||
|
|||||||
@@ -349,7 +349,14 @@ class acp_portal
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$args = array($this->new_config[$config_key], $config_key, $module_id);
|
$args = array($this->new_config[$config_key], $config_key, $module_id);
|
||||||
$func = array($c_class, $vars['method']);
|
if (!is_array($vars['method']))
|
||||||
|
{
|
||||||
|
$func = array($c_class, $vars['method']);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$func = $vars['method'];
|
||||||
|
}
|
||||||
$content = call_user_func_array($func, $args);
|
$content = call_user_func_array($func, $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user