Nobody Wrote:mvlcek Wrote:The "properties" here are accessed through the magic function __get($name), which uses the non-public fields just to "cache" some of the property values.And this is what I need Thanks again for all.
Just to make it clear: you don't need to call this function, just use the property names, e.g. here the title:
Code:
$result = return_i18n_search_results('news');
foreach ($result['results'] as $item) {
echo $item->title;
...