Nope. This is purely about structure. To tie that into code logic or display logic is theoretically possible but to make it flexible enough, you basically end up recreating programming languages (same reason why 4GL databases/programming never took off) - so at that point writing PHP is better.
However your use case is covered in:
http://compo.sr/tracker/view.php?id=134
:)
However your use case is covered in:
http://compo.sr/tracker/view.php?id=134
:)