TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

List all field from a template

By: Michael Schuchardt
Date: 2017-01-06
Time: 10:46

List all field from a template

I try to get a array with all field names in a template into the php script.
(Categories > TinyButStrong general > List all fields) doesn't work!!!
By: Skrol29
Date: 2017-01-09
Time: 10:15

Re: List all field from a template

Hi,

There is no such feature in native.
This is because a field can also be build dynamically (like in dynamics columns for example).
But you can try to get all static fields simply with a regexp on the template, I guess.