neptuo / is4wfw

PHP based CMS with multi domain support, virtual file system, library for team-sport fixtures and statistics, and many other features.
http://is4wfw.neptuo.com
Apache License 2.0
1 stars 0 forks source link

Explicitly defined list of fields for custom entity list #460

Closed maraf closed 2 years ago

maraf commented 2 years ago

Add a way to explicitly declare a list of fields for ce:list, so we can omit extra template evalution. The idea is like

<cef:declare name="fields">
    <cef:add name="..." />
</cef:declare>
<ce:list name="entity" fields="cef:fields">
    ...
</ce:list>