Documentation

Admin extends Ajax
in package
Uses Content

Generic Ajax request handler class.

Classes that handle ajax request should extend this class.

Table of Contents

Properties

$data  : array<string|int, mixed>
Contains data from BODY if the request is in json BODY, or from REQUEST

Methods

__construct()  : mixed
clear_cache()  : void
execute()  : void
Action dispatcher.
load_config()  : void
save_config()  : void
test_email()  : void

Properties

$data

Contains data from BODY if the request is in json BODY, or from REQUEST

protected array<string|int, mixed> $data

Methods

__construct()

public __construct() : mixed

clear_cache()

public clear_cache(Base $f3) : void
Parameters
$f3 : Base

execute()

Action dispatcher.

public execute(Base $f3[, string $action = "" ]) : void
Parameters
$f3 : Base
$action : string = ""

load_config()

public load_config(Base $f3) : void
Parameters
$f3 : Base

save_config()

public save_config(Base $f3) : void
Parameters
$f3 : Base

test_email()

public test_email(Base $f3) : void
Parameters
$f3 : Base

        
On this page

Search results