![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($content= '', $name= '', $id= '') | |
| Construct. More... | |
Public Member Functions inherited from WPDKHTMLTag | |
| __construct ($tag_name) | |
| addData ($name, $value) | |
| Add data attribute. More... | |
| addClass ($class) | |
| Add CSS Class. More... | |
| display () | |
| Display. More... | |
| html () | |
| Return the HTML markup for this tag. More... | |
| draw () | |
| Draw. More... | |
| setPropertiesByArray ($properties=array()) | |
| Set properties by array. More... | |
Public Member Functions inherited from WPDKObject | |
| __className () | |
| Returns the class object. More... | |
| __parentClass () | |
| Returns the class object for the receiver’s superclass. More... | |
| __isClass ($class) | |
| Brief. More... | |
| __isSubclassOfClass ($class) | |
| Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WPDKHTMLTag | |
| static | sanitizeAttributes ($attributes) |
| Sanitize attributes. More... | |
| static | sanitizeData ($attributes) |
| Sanitize data attributes. More... | |
| static | sanitizeClasses ($classes) |
| Sanitize CSS Classes list. More... | |
| static | sanitizeStyles ($styles) |
| Sanitize CSS Classes list. More... | |
| static | attributeInline ($attributes, $additional_attributes=false) |
| Inline Data attribute. More... | |
| static | dataInline ($data, $additional_data=false) |
| Inline Data attribute. More... | |
| static | classInline ($classes, $additional_classes=false) |
| Inline CSS class. More... | |
| static | styleInline ($styles, $additional_styles=false) |
| Inline CSS class. More... | |
| static | mergeClasses ($class, $class2=null, $_=null) |
| Merge. More... | |
Protected Member Functions inherited from WPDKHTMLTag | |
| beforeContent () | |
| Before content. More... | |
| afterContent () | |
| After content. More... | |
Protected Attributes inherited from WPDKHTMLTag | |
| $attributes = array() | |
| Attributes list. More... | |
| $close | |
| Close tag. More... | |
| $open | |
| Open tag. More... | |
Wrapper model for tag INPUT. Remeber to add this tag in WPDKHTMLTagName
Definition at line 1335 of file wpdk-html-tag.php.
| __construct | ( | $content = '', |
|
$name = '', |
|||
$id = '' |
|||
| ) |
Construct.
Create an instance of WPDKHTMLTagInput class
| string | $content | Optional. HTML inner (or adjacent) content |
| string | $name | Optional. Attribute name |
| string | $id | Optional. Attribute id |
Definition at line 1596 of file wpdk-html-tag.php.
| string $accept |
Char set accapt.
Not supported in HTML5. Specifies the character-set of a linked document.
Definition at line 1346 of file wpdk-html-tag.php.
| string $align |
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
Definition at line 1358 of file wpdk-html-tag.php.
| string $alt |
Alternative text.
Specifies an alternate text for images (only for type="image")
Definition at line 1366 of file wpdk-html-tag.php.
| string $autocomplete |
Autocomplete.
New in HTML 5. Specifies whether an <input> element should have autocomplete enabled. Values on, off
Definition at line 1374 of file wpdk-html-tag.php.
| string $autofocus |
Autofocus.
New in HTML 5. Specifies that an <input> element should automatically get focus when the page loads. Values autofocus.
Definition at line 1383 of file wpdk-html-tag.php.
| string $checked |
Checked.
Specifies that an <input> element should be pre-selected when the page loads (for type="checkbox" or type="radio"). Values checked
Definition at line 1392 of file wpdk-html-tag.php.
| string $disabled |
Disabled.
Specifies that an <input> element should be disabled. Values disabled
Definition at line 1400 of file wpdk-html-tag.php.
| string $form |
Form ID.
New in HTML 5. Specifies one or more forms the <input> element belongs to
Definition at line 1408 of file wpdk-html-tag.php.
| string $formaction |
URL action.
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
Definition at line 1417 of file wpdk-html-tag.php.
| string $formenctype |
Encryption type.
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
Definition at line 1426 of file wpdk-html-tag.php.
| string $formmethod |
Method.
New in HTML 5. Defines the HTTP method for sending data to the action URL (for type="submit" and type="image"). Values get, post
Definition at line 1435 of file wpdk-html-tag.php.
| string $formnovalidate |
Validate.
New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
Definition at line 1443 of file wpdk-html-tag.php.
| 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
Definition at line 1450 of file wpdk-html-tag.php.
| string $height |
Height.
New in HTML 5. Specifies the height of an <input> element (only for type="image"). Values in pixels
Definition at line 1458 of file wpdk-html-tag.php.
| string $list |
Detail id.
New in HTML 5. Refers to a <datalist> element that contains pre-defined options for an <input> element
Definition at line 1465 of file wpdk-html-tag.php.
| string $max |
Max value.
New in HTML 5. Specifies the maximum value for an <input> element. Values number, date
Definition at line 1473 of file wpdk-html-tag.php.
| int $maxlength |
Max length.
Specifies the maximum number of characters allowed in an <input> element
Definition at line 1481 of file wpdk-html-tag.php.
| int $min |
Min value.
New in HTML 5. Specifies a minimum value for an <input> element. Values: number, date
Definition at line 1489 of file wpdk-html-tag.php.
| string $multiple |
Multiple.
New in HTML 5. Specifies that a user can enter more than one value in an <input> element, Values multiple
Definition at line 1497 of file wpdk-html-tag.php.
| string $name |
| string $pattern |
Regular expression.
New in HTML 5. Specifies a regular expression that an <input> element's value is checked against. Value: regexp
Definition at line 1513 of file wpdk-html-tag.php.
| string $placeholder |
Placeholder.
New in HTML 5. Specifies a short hint that describes the expected value of an <input> element
Definition at line 1521 of file wpdk-html-tag.php.
| string $readonly |
Read only.
Specifies that an input field is read-only. Values readonly
Definition at line 1529 of file wpdk-html-tag.php.
| string $required |
Required.
New in HTML 5. Specifies that an input field must be filled out before submitting the form. Values required
Definition at line 1537 of file wpdk-html-tag.php.
| int $size |
Size.
Specifies the width, in characters, of an <input> element
Definition at line 1545 of file wpdk-html-tag.php.
| string $src |
URL.
Specifies the URL of the image to use as a submit button (only for type="image")
Definition at line 1553 of file wpdk-html-tag.php.
| int $step |
Step.
New in HTML 5. Specifies the legal number intervals for an input field
Definition at line 1561 of file wpdk-html-tag.php.
| string $type |
Type.
Specifies the type <input> element to display. For values use the WPDKHTMLTagInputType
Definition at line 1569 of file wpdk-html-tag.php.
| string $value |
| int $width |
Width.
New in HTML 5. Specifies the width of an <input> element (only for type="image")
Definition at line 1585 of file wpdk-html-tag.php.