Adds a single image field.
public addImage ( string $name, string $class = null, string $classError = null ) : |
||
$name | string | The name of the element. |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
return |