You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
454 B
PHP

<?php
namespace Artmark\Forms\Fields;
use Artmark\Forms\AbstractTextField;
/**
* Description of PasswordField
*
* @author Andrey Pokidov <pokidov@e-traffic.ru>
*/
class PasswordField extends AbstractTextField
{
public function __construct($form, $name)
{
parent::__construct($form, 'password', $name, '');
}
public function setValue($newValue)
{
//No value need to be written
return $this;
}
}