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

Public Member Functions

 __construct ($preferences, $property)
 Construct. More...
 
 draw ()
 Display. More...
 
 fields ($branch)
 Fields. More...
 
 buttonsUpdateReset ()
 Buttons Reset and Update. More...
 
- Public Member Functions inherited from WPDKView
 __construct ($id, $class= '')
 Construct. More...
 
 html ()
 Get HTML markup content. More...
 
 draw ()
 Draw. More...
 
 addSubview ($view)
 Add a subview. More...
 
 removeFromSuperview ()
 Remove this view. 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

 $preferences
 Preferences. More...
 
 $branch
 
- Data Fields inherited from WPDKView
 $__version = '1.1.2'
 Version. More...
 
 $class
 Class. More...
 
 $style
 Inline style. More...
 
 $content
 The content. More...
 
 $data
 
 $id
 ID. More...
 
 $subviews
 List of sub views. More...
 
 $superview
 The superview. More...
 
- 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 WPDKView
static initWithContent ($id, $class= '', $content= '')
 Init a WPDKView. More...
 
static initWithFrame ($id, $rect)
 
- Protected Attributes inherited from WPDKView
 $views
 List of views. More...
 

Detailed Description

Useful view for preferences

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-08-20
Version
1.0.0

Definition at line 12 of file wpdk-preferences-view.php.

Constructor & Destructor Documentation

__construct (   $preferences,
  $property 
)

Construct.

Create an instance of WPDKPreferencesView class

Parameters
WPDKPreferences$preferencesAn instance of WPDKPreferences clas
string$propertyPreferences branch property name
Returns
WPDKPreferencesView

Definition at line 51 of file wpdk-preferences-view.php.

Member Function Documentation

buttonsUpdateReset ( )

Buttons Reset and Update.

Return the HTML markup for standard [Reset to default] and [Update] buttons. You can override this method to hide or change the default buttons on bottom form.

Returns
string

Definition at line 117 of file wpdk-preferences-view.php.

draw ( )

Display.

Display

Definition at line 66 of file wpdk-preferences-view.php.

fields (   $branch)

Fields.

Override to return the array fields

Parameters
WPDKPreferencesBranch$branchAn instance of preferences branch
Returns
array

Definition at line 104 of file wpdk-preferences-view.php.

Field Documentation

$branch

Definition at line 30 of file wpdk-preferences-view.php.

WPDKPreferencesBranch $preferences

Preferences.

Branch.

An instance of WPDKPreferences class

An instance of WPDKPreferencesBranch class

Definition at line 21 of file wpdk-preferences-view.php.


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