Create a submit Tag.
App::Html()->submitTag(Name,[Value],[Option]);
Parameter |
Description |
---|---|
Name |
Name of the Input element |
Value |
Button Text |
Options |
HTML Attributes |
See bellow example:
echo App::Html()
->inputTag(
"data[Member][submit]",
"Submit",
array(
"id"=>"submit"
)
);
/*
Return value
<input type="submit" name="data[Member][submit]" value="Submit" id="submit" />
*/