Property | Type | Description | |
---|---|---|---|
$introduction | string | This is an optional string information | |
$title | string | The configuration title |
Method | Description | |
---|---|---|
__construct ( string $id, string $title, WPDKConfiguration $configuration = null, object | array $sub_configuration = null, string $introduction = '' ) : WPDKConfigurationView | Create WPDKConfigurationView instance object | |
buttonsUpdateReset ( ) : string | 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. | |
draw ( ) | Display the content view with form, introduction, fields or custom content. You can override this method with your own drawing. | |
fields ( ) | Return a SDF array for build the form fields | |
resetToDefault ( ) | Reset to default values of sub configuration branch. You can override this method if your sub configuration branch is not an object or not implements a defaults() method. | |
updatePostData ( ) : boolean | Process and set you own post data | |
wpdk_header_view_after_title ( WPDKHeaderView $header_view ) | Display succefully configuration updated message |
Method | Description | |
---|---|---|
_introduction ( ) : string | Return the introduction string, if exists, for HTML output | |
_processPost ( ) | Update or reset configuration |
public __construct ( string $id, string $title, WPDKConfiguration $configuration = null, object | array $sub_configuration = null, string $introduction = '' ) : WPDKConfigurationView | ||
$id | string | ID key of configuration |
$title | string | Title of configuration view |
$configuration | WPDKConfiguration | Optional. Main configuration pointer |
$sub_configuration | object | array | Optional. Sub configuration |
$introduction | string | Optional. An introduction text message |
return | WPDKConfigurationView |
public buttonsUpdateReset ( ) : string | ||
return | string |
public draw ( ) |
public resetToDefault ( ) |
public updatePostData ( ) : boolean | ||
return | boolean | TRUE to update the configuration and display the standard sucessfully message, or FALSE to avoid the update configuration and do a custom display. |
public wpdk_header_view_after_title ( WPDKHeaderView $header_view ) | ||
$header_view | WPDKHeaderView |
public string $introduction | ||
return | string |