mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
call functions
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@171 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
3cadb2deb4
commit
6188cf8ad0
4
hook.php
4
hook.php
@ -663,7 +663,7 @@ function plugin_example_dynamicReport($parm) {
|
|||||||
echo "Single data : add1 <br>";
|
echo "Single data : add1 <br>";
|
||||||
print $parm['add1'].'<br>';
|
print $parm['add1'].'<br>';
|
||||||
echo "Array data : add2 <br>";
|
echo "Array data : add2 <br>";
|
||||||
printCleanArray($parm['add2']);
|
Html::printCleanArray($parm['add2']);
|
||||||
// Return true if personalized display is done
|
// Return true if personalized display is done
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -672,7 +672,7 @@ function plugin_example_dynamicReport($parm) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Add parameters to printPager in search system
|
// Add parameters to Html::printPager in search system
|
||||||
function plugin_example_addParamFordynamicReport($itemtype) {
|
function plugin_example_addParamFordynamicReport($itemtype) {
|
||||||
|
|
||||||
if ($itemtype == 'PluginExampleExample') {
|
if ($itemtype == 'PluginExampleExample') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user