![]() |
WPDK
1.5.0
WordPress Development Kit
|
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... | |
The WPDKError is an extension of WP_Error class
Definition at line 214 of file wpdk-result.php.
| __construct | ( | $code, | |
$message = '', |
|||
$data = '' |
|||
| ) |
Construct.
Create an instance of WPDKError class
| string | $code | Error code, ie. wpxss_to_many_files |
| string | $message | Error message |
| mixed | $data | Optional. Error data. |
Definition at line 227 of file wpdk-result.php.