WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKError Class Reference
Inheritance diagram for WPDKError:
WPDKResult

Public Member Functions

 __construct ($code, $message= '', $data= '')
 Construct. More...
 
- Public Member Functions inherited from WPDKResult
 __construct ($code, $type=WPDKResultType::STATUS, $message= '', $data= '')
 Construct. More...
 
 display ($echo=true, $log=null)
 Display ot return output. More...
 
 getVarDump ($content)
 Do a var_dump. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WPDKResult
static isError ($thing)
 Check whether variable is a WPDK result error. More...
 
static isWarning ($thing)
 Check whether variable is a WPDK result warning. More...
 
static isStatus ($thing)
 Check whether variable is a WPDK result status. More...
 
- Protected Member Functions inherited from WPDKResult
 sanitizeCode ($code)
 Sanitize code id. More...
 
- Static Protected Member Functions inherited from WPDKResult
static _is ($thing, $class= 'WPDKError')
 Generic object compare. More...
 

Detailed Description

The WPDKError is an extension of WP_Error class

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2012-11-28
Version
0.8.1

Definition at line 214 of file wpdk-result.php.

Constructor & Destructor Documentation

__construct (   $code,
  $message = '',
  $data = '' 
)

Construct.

Create an instance of WPDKError class

Parameters
string$codeError code, ie. wpxss_to_many_files
string$messageError message
mixed$dataOptional. Error data.
Returns
WPDKError

Definition at line 227 of file wpdk-result.php.


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