WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKHTMLTagTextarea Class Reference
Inheritance diagram for WPDKHTMLTagTextarea:
WPDKHTMLTag WPDKObject

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...
 

Data Fields

 $autofocus
 Autofocus. More...
 
 $cols
 Column. More...
 
 $disabled
 Disabled. More...
 
 $form
 Form id. More...
 
 $maxlength
 Maxlength. More...
 
 $name
 Name. More...
 
 $placeholder
 Placeholder. More...
 
 $readonly
 Read only. More...
 
 $required
 Required. More...
 
 $rows
 Rows. More...
 
 $wrap
 Wrap. 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...
 

Detailed Description

Wrapper model for tag TEXTAREA. Remeber to add this tag in WPDKHTMLTagName

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-01-22
Version
0.9.0

Definition at line 2015 of file wpdk-html-tag.php.

Constructor & Destructor Documentation

__construct (   $content = '',
  $name = '',
  $id = '' 
)

Construct.

Create an instance of WPDKHTMLTagTextarea class

Parameters
string$contentHTML inner (or adjacent) content
string$nameAttribute name
string$idAttribute id
Returns
WPDKHTMLTagTextarea

Definition at line 2120 of file wpdk-html-tag.php.

Field Documentation

string $autofocus

Autofocus.

New in HTML5. Specifies that a text area should automatically get focus when the page loads. Default 'autofocus'

Definition at line 2026 of file wpdk-html-tag.php.

int $cols

Column.

Specifies the visible width of a text area.

Definition at line 2034 of file wpdk-html-tag.php.

string $disabled

Disabled.

Specifies that a text area should be disabled. Value: disabled

Definition at line 2042 of file wpdk-html-tag.php.

string $form

Form id.

New in HTML5. Specifies one or more forms the text area belongs to

Definition at line 2050 of file wpdk-html-tag.php.

int $maxlength

Maxlength.

New in HTML5. Specifies the maximum number of characters allowed in the text area

Definition at line 2058 of file wpdk-html-tag.php.

string $name

Name.

Specifies the name for a text area.

Definition at line 2066 of file wpdk-html-tag.php.

string $placeholder

Placeholder.

New in HTML5. Specifies a short hint that describes the expected value of a text area

Definition at line 2074 of file wpdk-html-tag.php.

string $readonly

Read only.

Specifies that a text area should be read-only. Value: readonly

Definition at line 2082 of file wpdk-html-tag.php.

string $required

Required.

New in HTML5. Specifies that a text area is required/must be filled out, Default 'required'

Definition at line 2090 of file wpdk-html-tag.php.

int $rows

Rows.

Specifies the visible number of lines in a text area

Definition at line 2098 of file wpdk-html-tag.php.

string $wrap

Wrap.

New in HTML5. Specifies how the text in a text area is to be wrapped when submitted in a form. Default 'hard', 'soft'

Definition at line 2107 of file wpdk-html-tag.php.


The documentation for this class was generated from the following file: