password_field

Syntax:

$form_helper->password_field( $object_name, [ $column_name ], [ $options ])

Description:
Returns an input tag of the “password” type tailored for accessing the attribute identified by $column_name on the object $object_name.
Additional options are to be passed as an array with $options. Options:

Example:

$form_helper->password_field("post", "pwd", array("size" => 20));

produces this PHP code:

<input type="password" id="post_pwd" name="post[pwd]" size="20" value="{post.pwd}" />

password_field_tag

Syntax:

$form_tag_helper->password_field_tag( [ $name = 'password'], [ $value ], [ $options ])

Description:
Returns an input tag of the “password” type. The result must be processed by helper code or in the controller. Additional options are to be passed as an array with $options. Options: