PHP 클래스 WPDKHTMLTagInput

Remeber to add this tag in WPDKHTMLTagName
저자: =undo= ([email protected])
상속: extends WPDKHTMLTag
파일 보기 프로젝트 열기: wpxtreme/wpdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accept string Not supported in HTML5. Specifies the character-set of a linked document.
$align string Not supported in HTML5. Deprecated in HTML 4.01. Specifies the alignment of an image input (only for type="image"). Values: left, right, top, middle, bottom
$alt string Specifies an alternate text for images (only for type="image")
$autocomplete string New in HTML 5. Specifies whether an element should have autocomplete enabled. Values on, off
$autofocus string Values autofocus.
$checked string Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio"). Values checked
$disabled string Specifies that an element should be disabled. Values disabled
$form string New in HTML 5. Specifies one or more forms the element belongs to
$formaction string New in HTML 5. Specifies the URL of the file that will process the input control when the form is submitted (for type="submit" and type="image"). Values URL
$formenctype string New in HTML 5. Specifies how the form-data should be encoded when submitting it to the server (for type="submit" and type="image"). Values application/x-www-form-urlencoded, multipart/form-data, text/plain
$formmethod string Values get, post
$formnovalidate string New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
$formtarget string New in HTML 5. Specifies where to display the response that is received after submitting the form (for type="submit" and type="image"). Values _blank, _self, _parent, _top or framename
$height string New in HTML 5. Specifies the height of an element (only for type="image"). Values in pixels
$list string New in HTML 5. Refers to a element that contains pre-defined options for an element
$max string New in HTML 5. Specifies the maximum value for an element. Values number, date
$maxlength integer Specifies the maximum number of characters allowed in an element
$min integer New in HTML 5. Specifies a minimum value for an element. Values: number, date
$multiple string New in HTML 5. Specifies that a user can enter more than one value in an element, Values multiple
$name string Specifies the name of an element
$pattern string New in HTML 5. Specifies a regular expression that an element's value is checked against. Value: regexp
$placeholder string New in HTML 5. Specifies a short hint that describes the expected value of an element
$readonly string Specifies that an input field is read-only. Values readonly
$required string New in HTML 5. Specifies that an input field must be filled out before submitting the form. Values required
$size integer Specifies the width, in characters, of an element
$src string Specifies the URL of the image to use as a submit button (only for type="image")
$step integer New in HTML 5. Specifies the legal number intervals for an input field
$type string Specifies the type element to display. For values use the WPDKHTMLTagInputType
$value string Specifies the value of an element
$width integer New in HTML 5. Specifies the width of an element (only for type="image")

공개 메소드들

메소드 설명
__construct ( string $content = '', string $name = '', string $id = '' ) Create an instance of WPDKHTMLTagInput class

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKHTMLTagInput class
public __construct ( string $content = '', string $name = '', string $id = '' )
$content string Optional. HTML inner (or adjacent) content
$name string Optional. Attribute name
$id string Optional. Attribute id

프로퍼티 상세

$accept 공개적으로 프로퍼티

Not supported in HTML5. Specifies the character-set of a linked document.
public string $accept
리턴 string

$align 공개적으로 프로퍼티

Not supported in HTML5. Deprecated in HTML 4.01. Specifies the alignment of an image input (only for type="image"). Values: left, right, top, middle, bottom
사용 중단: in HTML 4.01
public string $align
리턴 string

$alt 공개적으로 프로퍼티

Specifies an alternate text for images (only for type="image")
public string $alt
리턴 string

$autocomplete 공개적으로 프로퍼티

New in HTML 5. Specifies whether an element should have autocomplete enabled. Values on, off
public string $autocomplete
리턴 string

$autofocus 공개적으로 프로퍼티

Values autofocus.
public string $autofocus
리턴 string

$checked 공개적으로 프로퍼티

Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio"). Values checked
public string $checked
리턴 string

$disabled 공개적으로 프로퍼티

Specifies that an element should be disabled. Values disabled
public string $disabled
리턴 string

$form 공개적으로 프로퍼티

New in HTML 5. Specifies one or more forms the element belongs to
public string $form
리턴 string

$formaction 공개적으로 프로퍼티

New in HTML 5. Specifies the URL of the file that will process the input control when the form is submitted (for type="submit" and type="image"). Values URL
public string $formaction
리턴 string

$formenctype 공개적으로 프로퍼티

New in HTML 5. Specifies how the form-data should be encoded when submitting it to the server (for type="submit" and type="image"). Values application/x-www-form-urlencoded, multipart/form-data, text/plain
public string $formenctype
리턴 string

$formmethod 공개적으로 프로퍼티

Values get, post
public string $formmethod
리턴 string

$formnovalidate 공개적으로 프로퍼티

New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
public string $formnovalidate
리턴 string

$formtarget 공개적으로 프로퍼티

New in HTML 5. Specifies where to display the response that is received after submitting the form (for type="submit" and type="image"). Values _blank, _self, _parent, _top or framename
public string $formtarget
리턴 string

$height 공개적으로 프로퍼티

New in HTML 5. Specifies the height of an element (only for type="image"). Values in pixels
public string $height
리턴 string

$list 공개적으로 프로퍼티

New in HTML 5. Refers to a element that contains pre-defined options for an element
public string $list
리턴 string

$max 공개적으로 프로퍼티

New in HTML 5. Specifies the maximum value for an element. Values number, date
public string $max
리턴 string

$maxlength 공개적으로 프로퍼티

Specifies the maximum number of characters allowed in an element
public int $maxlength
리턴 integer

$min 공개적으로 프로퍼티

New in HTML 5. Specifies a minimum value for an element. Values: number, date
public int $min
리턴 integer

$multiple 공개적으로 프로퍼티

New in HTML 5. Specifies that a user can enter more than one value in an element, Values multiple
public string $multiple
리턴 string

$name 공개적으로 프로퍼티

Specifies the name of an element
public string $name
리턴 string

$pattern 공개적으로 프로퍼티

New in HTML 5. Specifies a regular expression that an element's value is checked against. Value: regexp
public string $pattern
리턴 string

$placeholder 공개적으로 프로퍼티

New in HTML 5. Specifies a short hint that describes the expected value of an element
public string $placeholder
리턴 string

$readonly 공개적으로 프로퍼티

Specifies that an input field is read-only. Values readonly
public string $readonly
리턴 string

$required 공개적으로 프로퍼티

New in HTML 5. Specifies that an input field must be filled out before submitting the form. Values required
public string $required
리턴 string

$size 공개적으로 프로퍼티

Specifies the width, in characters, of an element
public int $size
리턴 integer

$src 공개적으로 프로퍼티

Specifies the URL of the image to use as a submit button (only for type="image")
public string $src
리턴 string

$step 공개적으로 프로퍼티

New in HTML 5. Specifies the legal number intervals for an input field
public int $step
리턴 integer

$type 공개적으로 프로퍼티

Specifies the type element to display. For values use the WPDKHTMLTagInputType
public string $type
리턴 string

$value 공개적으로 프로퍼티

Specifies the value of an element
public string $value
리턴 string

$width 공개적으로 프로퍼티

New in HTML 5. Specifies the width of an element (only for type="image")
public int $width
리턴 integer