fix calls

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@165 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2011-08-10 13:43:42 +00:00
parent 35e2c888c7
commit 8e872a324e

View File

@ -187,7 +187,7 @@ function plugin_example_addWhere($link,$nott,$type,$ID,$val) {
$table = $searchopt[$ID]["table"]; $table = $searchopt[$ID]["table"];
$field = $searchopt[$ID]["field"]; $field = $searchopt[$ID]["field"];
$SEARCH = makeTextSearch($val,$nott); $SEARCH = Search::makeTextSearch($val,$nott);
// Example of standard Where clause but use it ONLY for specific Where // Example of standard Where clause but use it ONLY for specific Where
// No need of the function if you do not have specific cases // No need of the function if you do not have specific cases
@ -212,7 +212,7 @@ function plugin_example_addHaving($link,$nott,$type,$ID,$val,$num) {
$table = $searchopt[$ID]["table"]; $table = $searchopt[$ID]["table"];
$field = $searchopt[$ID]["field"]; $field = $searchopt[$ID]["field"];
$SEARCH = makeTextSearch($val,$nott); $SEARCH = Search::makeTextSearch($val,$nott);
// Example of standard Having clause but use it ONLY for specific Having // Example of standard Having clause but use it ONLY for specific Having
// No need of the function if you do not have specific cases // No need of the function if you do not have specific cases