FieldFormCommand
class FieldFormCommand extends BaseCommand (View source)
AJAX command for passing a rendered field form to Quick Edit's JavaScript app.
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 a FieldFormCommand object.
Details
__construct(string $data)
Constructs a FieldFormCommand object.
render()
Return an array to be run through json_encode and sent to the client.