Свойство | Тип | Описание | |
---|---|---|---|
$introduction | string | This is an optional string information | |
$title | string | The configuration title |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
_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 |
Результат | WPDKConfigurationView |
public buttonsUpdateReset ( ) : string | ||
Результат | string |
public draw ( ) |
public resetToDefault ( ) |
public updatePostData ( ) : boolean | ||
Результат | 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 | ||
Результат | string |