Property | Type | Description | |
---|---|---|---|
$args | Arguments before applying to SQL builder. | ||
$code | |||
$debugInfo | |||
$error | |||
$errors | |||
$exception | |||
$id | |||
$message | Message | ||
$sql | SQL query string | ||
$success | Success or fail. | ||
$type | CREATE_RESULT, READ_RESULT, UPDATE_RESULT, DELETE_RESULT | ||
$validations | column key => ValidationMessage object. | ||
$vars | Variables that built from SQL Query Builder |
Method | Description | |
---|---|---|
__toString ( ) | ||
failure ( $msg = null, $extra = [] ) | ||
getDebugInfo ( ) | ||
getErrorValidations ( ) | Returns an array of ValidationMessage objects. | |
getSuccessValidations ( ) | returns an array contains success validations. | |
getType ( $type ) | ||
notice ( string $desc = null ) | ||
setDebugInfo ( array $info ) | ||
setError ( ) | ||
setMessage ( $msg ) | ||
setSuccess ( ) | ||
setType ( $type ) | ||
silentError ( $desc = null, $messageType ) | ||
success ( $msg = null, $extra = [] ) | ||
throwExceptionIfFailed ( ) | ||
toException ( $message = '' ) | ||
triggerError ( string $desc = null, integer $errorType = E_USER_NOTICE ) | Trigger error with errorType, default to E_USER_NOTICE. |
public getErrorValidations ( ) |
public getSuccessValidations ( ) |
public triggerError ( string $desc = null, integer $errorType = E_USER_NOTICE ) | ||
$desc | string | error description |
$errorType | integer | error types defined in http://php.net/manual/en/function.trigger-error.php |