Class rex_api_result

Class representing the result of a api function call.

Package: redaxo\core
Author: staabm
See: rex_api_function
Located at redaxo/src/core/lib/api_function.php

Methods summary

public
# __construct( mixed $succeeded, mixed $message = null )
public
# setRequiresReboot( mixed $requiresReboot )
public
public
public string
# getMessage( )

Returns end-user friendly statusmessage.

public boolean
# isSuccessfull( )

Returns whether the api function was executed successfully.

public
# toJSON( )
public static
# fromJSON( mixed $json )