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