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... | |
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... | |
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 | |
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 SPAN. Remeber to add this tag in WPDKHTMLTagName
Definition at line 1977 of file wpdk-html-tag.php.
__construct | ( | $content = '' | ) |
Construct.
Create an instance of WPDKHTMLTagSpan class
string | $content | HTML inner (or adjacent) content |
Definition at line 1988 of file wpdk-html-tag.php.