Interface for input widgets.
Converts the $data into one or many HTML elements.
Returns a list of fields that need to be secured for this widget.
render(array<string, mixed> $data, Cake\View\Form\ContextInterface $context): string
Converts the $data into one or many HTML elements.
array<string, mixed>
$data The data to render.
Cake\View\Form\ContextInterface
$context The current form context.
string
secureFields(array<string, mixed> $data): array<string>
Returns a list of fields that need to be secured for this widget.
array<string, mixed>
$data The data to render.
array<string>
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.View.Widget.WidgetInterface.html