EasyBlogAjax
extends Ajax
in package
Table of Contents
Properties
Methods
- __call() : mixed
- Proxy to handle all commands needed to be added into the command chain.
- __construct() : mixed
- addCommand() : mixed
- Override the addCommand behavior of the parent for now as we need to capture for exceptions
- execute() : mixed
- Process the namespace and execute accordingly
- isAjaxRequest() : mixed
- Determines if the current request is an ajax request
- isValidNamespace() : mixed
- Determines if the current namespace is a valid namespace
- process() : mixed
- Processes ajax calls made on the site
- send() : mixed
- Sends a response back to the request
Properties
$commands
protected
mixed
$commands
= []
$fd
private
mixed
$fd
= null
$input
private
mixed
$input
= null
Methods
__call()
Proxy to handle all commands needed to be added into the command chain.
public
__call(mixed $method, mixed $args) : mixed
e.g: success / fail / script
Parameters
- $method : mixed
- $args : mixed
Tags
__construct()
public
__construct(mixed $fd) : mixed
Parameters
- $fd : mixed
addCommand()
Override the addCommand behavior of the parent for now as we need to capture for exceptions
public
addCommand(mixed $type, mixed &$data) : mixed
Parameters
- $type : mixed
- $data : mixed
Tags
execute()
Process the namespace and execute accordingly
public
execute(mixed $namespace) : mixed
Parameters
- $namespace : mixed
Tags
isAjaxRequest()
Determines if the current request is an ajax request
public
isAjaxRequest(mixed $namespace) : mixed
Parameters
- $namespace : mixed
Tags
isValidNamespace()
Determines if the current namespace is a valid namespace
public
isValidNamespace(mixed $namespace) : mixed
Parameters
- $namespace : mixed
Tags
process()
Processes ajax calls made on the site
public
process() : mixed
Tags
send()
Sends a response back to the request
public
send() : mixed