<?php if($hasBookmark) { ?>
  <i <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'icon-bookmark'), array('data-behavior', 'Bookmark'), array('data-reference-id', $id_reference), array('data-type', $type), array('data-has-bookmark', '1')), 'html5', 'UTF-8'); ?>></i>
<?php } else   { ?>
  <i <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'icon-bookmark-empty'), array('data-behavior', 'Bookmark'), array('data-reference-id', $id_reference), array('data-type', $type), array('data-has-bookmark', '0')), 'html5', 'UTF-8'); ?>></i>
<?php } ?>
