Location: PHPKode > projects > Open Power Template > tests/Opt/function/entity_2.txt
Check the entity() function features.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<opt:root>
{u:entity('bogus value')}
</opt:root>

>>>>expected.txt
Opt_InvalidEntityName_Exception
Return current item: Open Power Template