IfOnDataNode.php
<div item="Blog">
<p-data where="Blog.type LIKE :type" if="Phad\Test\Main\Documentation::is_if_allowed()">
<on s=404>404 error</on>
<on s=403>403 error</on>
</p-data>
Type: <p prop="type"></p>
</div>
<div item="Blog">
<p-data where="Blog.type LIKE :type" if="Phad\Test\Main\Documentation::is_if_allowed()">
<on s=404>404 error</on>
<on s=403>403 error</on>
</p-data>
Type: <p prop="type"></p>
</div>