{if !empty($list)} {foreach from=$list item=item name='user_list'} {assign var='dto' value=$item.dto} {assign var='id' value=$dto->id}