$flexy->getElements()

$flexy->getElements() -- Fetch Dynamic HTML Elements from template

Synopsis

Описание

All Form elements, FORM, INPUT, SELECT and any HTML tag that includes the attribute flexy:dynamic Is converted into HTML_Template_Flexy_Element's and stored serialized in the same folder as the Compiled flexy template.

You can use this array to make changes to these elements or find out what form elements exist on a page.

Note: you should put the modified result as the $elements argument of >outputObject(), you do not however have to fetch the elements to assign them, you can just create blank elements, and merge them.

Возвращаемое значение

array - of Elements contained within the template. (or an empty array if no form/dynamic elements are used)

Заметка

Эта функция не должна вызываться статически.

Пример

    Поддержать сайт на родительском проекте КГБ