![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($content= '') | |
| 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... | |
Data Fields | |
| $autofocus | |
| Autofocus. More... | |
| $disabled | |
| $form | |
| Form ID. More... | |
| $formaction | |
| URL action. More... | |
| $formenctype | |
| Encryption type. More... | |
| $formmethod | |
| Method. More... | |
| $formnovalidate | |
| Validate. More... | |
| $formtarget | |
| Target. More... | |
| $name | |
| Name. More... | |
| $type | |
| Type. More... | |
| $value | |
| Value. More... | |
Data Fields inherited from WPDKHTMLTag | |
| $__version = '1.1.1' | |
| Version. More... | |
| $accesskey = '' | |
| $class = array() | |
| $content = '' | |
| Content. More... | |
| $contenteditable | |
| $contextmenu | |
| $data = array() | |
| Data attribute. More... | |
| $dir | |
| $draggable | |
| $dropzone | |
| $hidden | |
| $id | |
| $lang | |
| $onclick | |
| $spellcheck | |
| $style | |
| $tabindex | |
| $tagName | |
| Tag name. More... | |
| $title | |
Data Fields inherited from WPDKObject | |
| $__version = '1.0.0' | |
| The version number assigned to the class. 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 BUTTON. Remeber to add this tag in WPDKHTMLTagName
Definition at line 857 of file wpdk-html-tag.php.
| __construct | ( | $content = '' | ) |
Construct.
Create an instance of WPDKHTMLTagButton class
| string | $content | HTML inner (or adjacent) content |
Definition at line 964 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 869 of file wpdk-html-tag.php.
| string $disabled |
Set to 'disabled'. Specifies that a button should be disabled.
Definition at line 876 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 884 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 893 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 902 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 911 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 919 of file wpdk-html-tag.php.
| string $formtarget |
Target.
New in HTML 5. Specifies where to display the response after submitting the form. Only for type="submit". Values _blank, _self, _parent, _top or framename
Definition at line 928 of file wpdk-html-tag.php.
| string $name |
| string $type |
Type.
Specifies the type of button: button, reset, submit
Definition at line 946 of file wpdk-html-tag.php.
| string $value |