Dear Developevelopment and coding <[email protected]> 


i'm trying to implement a hook for the ordercard context overloading 
"formObjectOptions" function

this is the print_f for the $parameters object
array
(
    [colspan] =>  colspan="2"
    [context] => searchform:leftblock:toprightmenu:ordercard
).

the question is: how can i validate that the context es actually "ordercard"? 
what type of data i the element context in this case?

already tried with ststr and substr function, but i don't seem to get a match.

Thanks in advance for all your comments
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à