WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKPreferencesBranch Class Reference

Public Member Functions

 __construct ()
 Construct. More...
 
 defaults ()
 Default preferences. More...
 
 update ()
 Update. More...
 

Detailed Description

Utility for preferences branch

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

Definition at line 362 of file wpdk-preferences.php.

Constructor & Destructor Documentation

__construct ( )

Construct.

Create an instance of WPDKPreferencesBranch class

Returns
WPDKPreferencesBranch

Definition at line 371 of file wpdk-preferences.php.

Member Function Documentation

defaults ( )

Default preferences.

Use this method to set the default vaues for this preferences branch

Definition at line 381 of file wpdk-preferences.php.

update ( )

Update.

Update preferences branch

Note
You can to override this method in order to updated your branch preferences
public function update()
{
  $this->property = $_POST['property'];

Definition at line 398 of file wpdk-preferences.php.


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