Function Reference / results

Extract set of data for all documents in the current result set. This could be the models from the current webcam grid, videos or blog posts etc.

OVERVIEW

PHParray zestoi_results(string $type)
SMARTY{results var=NAME type=TYPE}

EXAMPLES

PHP

$my_results = zestoi_results('webcams');
echo "The hair color of the first model is " . $my_results[0]['hair_color'];

SMARTY

{results var=my_results type=webcams}
The hair color of the first model is {$my_results.0.hair_color}