Create a file textarea 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()
->textareaTag(
"data[Member][note]",
"",
array(
"id"=>"note"
)
);
/*
Return value
<textarea name="data[Member][note]" id="note" ></textarea>
*/