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

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

 $accept
 Accept. More...
 
 $accept_charset
 Accept charset. More...
 
 $action
 Action. More...
 
 $autocomplete
 Autocomplete. More...
 
 $enctype
 Encription type. More...
 
 $method
 Method. More...
 
 $name
 Form name. More...
 
 $novalidate
 No validate. More...
 
 $target
 Target. 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 FORM. Remeber to add this tag in WPDKHTMLTagName

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2012-11-28
Version
0.8.1

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

Constructor & Destructor Documentation

__construct (   $content = '')

Construct.

Create an instance of WPDKHTMLTagForm class

Parameters
string$contentHTML inner (or adjacent) content
Returns
WPDKHTMLTagForm

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

Field Documentation

string $accept

Accept.

Not supported in HTML5. Specifies the types of files that the server accepts (that can be submitted through a file upload). Value: MIME_type

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

string $accept_charset

Accept charset.

Specifies the character encodings that are to be used for the form submission. Value: character_set

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

string $action

Action.

Specifies where to send the form-data when a form is submitted.

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

string $autocomplete

Autocomplete.

New in HTML 5. Specifies whether a form should have autocomplete on or off. Values: on, off

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

string $enctype

Encription type.

Specifies how the form-data should be encoded when submitting it to the server (only for method="post"). Values: application/x-www-form-urlencoded, multipart/form-data, text/plain

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

string $method

Method.

Specifies the HTTP method to use when sending form-data. Values: get, post

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

string $name

Form name.

Specifies the name of a form

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

string $novalidate

No validate.

New in HTML 5. Specifies that the form should not be validated when submitted. Value: novalidate

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

string $target

Target.

Specifies where to display the response that is received after submitting the form. Values: _blank, _self, _parent, _top

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


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