Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

PHP DOM Builder has been unveiled in second revision

In 2014 year PHP DOM Builder library was unveiled at the first time within the framework of Baigudin Software project. Two years have been left after that moment and today we are glad to offer the second generation that is PHP DOM Builder Revision 2.

Class «DomBuilder\Element\Form»

form – user-submittable form.

The form element represents a user-submittable form.

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester

public string|Form action(string $value=NULL);

Returns or sets a value of 'action' attribute.

Parameters:
string $value — attribute value.

Returns:
string|Form — a current value or this element.

public string|Form enctype(string $value=NULL);

Returns or sets a value of 'enctype' attribute.

Parameters:
string $value — attribute value.

Returns:
string|Form — a current value or this element.

public string|Form method(string $value=NULL);

Returns or sets a value of 'method' attribute.

Parameters:
string $value — attribute value.

Returns:
string|Form — a current value or this element.

Back to class list