PHP Classes
elePHPant
Icontem

File: src/Field/Text/Password.php

Recommend this page to a friend!
  Classes of Derek McLean  >  HTML Forms  >  src/Field/Text/Password.php  >  Download  
File: src/Field/Text/Password.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HTML Forms
Generate and validate submitted HTML forms
Author: By
Last change:
Date: 8 months ago
Size: 273 bytes
 

Contents

Class file image Download
<?php
/**
 * User: delboy1978uk
 * Date: 19/11/2016
 * Time: 21:37
 */

namespace Del\Form\Field\Text;

use
Del\Form\Field\Text;

class
Password extends Text
{
    public function
init()
    {
       
parent::init();
       
$this->setAttribute('type', 'password');
    }
}