I have built a custom module that is undertaking a variety of tasks. I am now needing to conduct a search from within the module.
I have implemented and am getting the correct results that I expect from keywords using the
However I want this data to be returned as objects/arrays/data-structures of some type, not html, as the above is doing, as I need to be able to return this data in various bespoke formats myself.
I have done a number of searches but can't find anything suitable. Any pointers gratefully received, it'd be great if I didn't have to create the sql and run a query myself... although I supposed this is an option...
Thanks in advance,