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