Location: PHPKode > scripts > PHPTAL > phptal/PHPTAL-1.2.1/tests/input/metal-slot.03.html
<html>
  <metal:block define-macro="test1">
    <metal:block define-slot="foo">default value 1</metal:block>
  </metal:block>

  <metal:block use-macro="test1">
    <metal:block fill-slot="foo">my value</metal:block>
  </metal:block>
</html>
Return current item: PHPTAL