<?php

$vars = $this->vars();

if (empty($vars)) {
	echo "No object model passed";
} elseif (isset($vars['message'])) {
	echo $vars['message'];
} else {
	$objKey = current($this->vars())->helper->getObjectKey();
	echo 'This is an iteration with objectKey: ' . $objKey;
}
