class EntitySavedCommand extends BaseCommand (View source)

AJAX command to indicate the entity was loaded from PrivateTempStore and saved into the database.

Properties

protected string $command

The name of the command.

from  BaseCommand
protected string $data

The data to pass on to the client side.

from  BaseCommand

Methods

__construct(string $data)

Constructs an EntitySaveCommand object.

render()

Return an array to be run through json_encode and sent to the client.

Details

__construct(string $data)

Constructs an EntitySaveCommand object.

Parameters

string $data

The data to pass on to the client side.

render()

Return an array to be run through json_encode and sent to the client.