Skip to content

Commit

Permalink
Input types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jleagle committed Mar 7, 2015
1 parent 2643e54 commit d36768c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/Tags/Forms/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@

class Input extends FormInputAbstract
{
const TYPE_BUTTON = 'button';
const TYPE_CHECKBOX = 'checkbox';
const TYPE_COLOR = 'color';
const TYPE_DATE = 'date';
const TYPE_DATETIME = 'datetime';
const TYPE_DATETIME_LOCAL = 'datetime-local';
const TYPE_EMAIL = 'email';
const TYPE_FILE = 'file';
const TYPE_HIDDEN = 'hidden';
const TYPE_IMAGE = 'image';
const TYPE_MONTH = 'month';
const TYPE_NUMBER = 'number';
const TYPE_PASSWORD = 'password';
const TYPE_RADIO = 'radio';
const TYPE_RANGE = 'range';
const TYPE_RESET = 'reset';
const TYPE_SEARCH = 'search';
const TYPE_SUBMIT = 'submit';
const TYPE_TEL = 'tel';
const TYPE_TEXT = 'text';
const TYPE_TIME = 'time';
const TYPE_URL = 'url';
const TYPE_WEEK = 'week';

protected $_tag = 'input';

public function __construct($type, $value)
Expand Down

0 comments on commit d36768c

Please sign in to comment.