Passing attributes to a class widget?

I can define a widget in a template using

Code:

<xf:widget class="Blah\Widget\TestWidget" />

but although I'm told this...
  • You can also provide widget-specific options as attributes when the class attribute is used.
Click to expand...

I can't figure out the right syntax to provide the options.

I've tried various variations on passing in paramName='paramValue' in the xf:widget tag (e.g. params="['abc']" is how they work in an xf:callback) but I...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ