![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($content= '', $href= '') | |
| 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 | |
| $charset | |
| Charset. More... | |
| $coords | |
| Coordinates. More... | |
| $href | |
| URI. More... | |
| $hreflang | |
| Language. More... | |
| $media | |
| Media type. More... | |
| $name | |
| Anchor name. More... | |
| $rel | |
| Relationship. More... | |
| $rev | |
| Rev. More... | |
| $shape | |
| Shape. More... | |
| $target | |
| Target. More... | |
| $type | |
| Type. 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 A. Remeber to add this tag in WPDKHTMLTagName
Definition at line 712 of file wpdk-html-tag.php.
| __construct | ( | $content = '', |
|
$href = '' |
|||
| ) |
Construct.
Create an instance of WPDKHTMLTagA class
| string | $content | HTML inner (or adjacent) content |
| string | $href | The href attribute |
Definition at line 813 of file wpdk-html-tag.php.
| string $charset |
Charset.
Not supported in HTML5. Specifies the character-set of a linked document.
Definition at line 721 of file wpdk-html-tag.php.
| string $coords |
Coordinates.
Not supported in HTML5. Specifies the coordinates of a link
Definition at line 729 of file wpdk-html-tag.php.
| string $href |
URI.
Specifies the URL of the page the link goes to.
Definition at line 737 of file wpdk-html-tag.php.
| string $hreflang |
Language.
Specifies the language of the linked document. Value language_code
Definition at line 745 of file wpdk-html-tag.php.
| string $media |
Media type.
New in HTML5. Specifies what media/device the linked document is optimized for. Value media_query
Definition at line 753 of file wpdk-html-tag.php.
| string $name |
Anchor name.
Not supported in HTML5. Specifies the name of an anchor
Definition at line 761 of file wpdk-html-tag.php.
| string $rel |
Relationship.
Specifies the relationship between the current document and the linked document. Available values are: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag
Definition at line 771 of file wpdk-html-tag.php.
| string $rev |
Rev.
Not supported in HTML5. Specifies the relationship between the linked document and the current document
Definition at line 779 of file wpdk-html-tag.php.
| string $shape |
Shape.
Not supported in HTML5. Specifies the shape of a link. Values: default, rect, circl,e poly
Definition at line 787 of file wpdk-html-tag.php.
| string $target |
Target.
Specifies where to open the linked document. Values: _blank, _self, _parent, _top or framename
Definition at line 795 of file wpdk-html-tag.php.
| string $type |
Type.
New in HTML 5. Specifies the MIME type of the linked document. Value MIME_type
Definition at line 803 of file wpdk-html-tag.php.