Holder Demo

Back to list

Pagination rows (source for 6-7)
1 Alpha Widget
2 Beta Gadget
4 P4
1. Bare holder → Gate onholder()
filled by Gate onholder()
2. Bare holder + data-widget-type → onholder() switch
Products in DB: 8
3. sphp-app-prop → Gate property
filled by Gate onholder()
4. sphp-app-fun → Gate method return
filled by Gate onholder()
5. Expression alternative (no holder)

Gate property via expression: <strong>Sidebar</strong> from Gate property via sphp-app-prop

Gate method via raw expression:

  • Electronics
  • Clothing
  • Books
  • Home

6. sphp-comp + sphp-comp-prop → Component property
7. sphp-comp + sphp-comp-fun → Component method