WPDK
1.5.0
WordPress Development Kit
|
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... | |
Useful view for preferences
Definition at line 12 of file wpdk-preferences-view.php.
__construct | ( | $preferences, | |
$property | |||
) |
Construct.
Create an instance of WPDKPreferencesView class
WPDKPreferences | $preferences | An instance of WPDKPreferences clas |
string | $property | Preferences branch property name |
Definition at line 51 of file wpdk-preferences-view.php.
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.
Definition at line 117 of file wpdk-preferences-view.php.
draw | ( | ) |
fields | ( | $branch | ) |
Fields.
Override to return the array fields
WPDKPreferencesBranch | $branch | An instance of preferences branch |
Definition at line 104 of file wpdk-preferences-view.php.
$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.