Documentation

Ajax extends Ajax
in package

Handles Ajax Calls.

Table of Contents

$fwPermissions  : array<string|int, array<string|int, mixed>>
$instance  : object
The only instance of using class
$log  : array<string|int, string>
$restops  : array<string|int, array<string|int, mixed>>
getinstance()  : object
Checks, instantiates and returns the only instance of the using class.
handle()  : void
Handle AJAX operations
log()  : bool
Return the log requirements array from the child
permissions()  : array<string|int, string>
Return the permission requirements array from the child

Properties

$fwPermissions

protected static array<string|int, array<string|int, mixed>> $fwPermissions = [FrameworkAjaxBean::class => [], FrameworkAjaxHints::class => [], FrameworkAjaxPaging::class => [], FrameworkAjaxPwCheck::class => [], FrameworkAjaxShared::class => [], FrameworkAjaxTable::class => [], FrameworkAjaxTableSearch::class => [], FrameworkAjaxToggle::class => [], FrameworkAjaxUnique::class => [], FrameworkAjaxUniqueNl::class => []]

$instance

The only instance of using class

protected static object $instance = NULL

$log

protected static array<string|int, string> $log = []

$restops

private static array<string|int, array<string|int, mixed>> $restops = ['bean' => FrameworkAjaxBean::class, 'config' => FrameworkAjaxConfig::class, 'hints' => FrameworkAjaxHints::class, 'paging' => FrameworkAjaxPaging::class, 'pwcheck' => FrameworkAjaxPwCheck::class, 'shared' => FrameworkAjaxShared::class, 'table' => FrameworkAjaxTable::class, 'tablecheck' => FrameworkAjaxTableCheck::class, 'tablesearch' => FrameworkAjaxTableSearch::class, 'toggle' => FrameworkAjaxToggle::class, 'unique' => FrameworkAjaxUnique::class, 'uniquenl' => FrameworkAjaxUniqueNl::class]

Methods

getinstance()

Checks, instantiates and returns the only instance of the using class.

public static getinstance() : object
Tags
template

object

psalm-return

object

psalm-suppress

MismatchingDocblockReturnType

psalm-suppress

ReservedWord

Return values
object

handle()

Handle AJAX operations

public handle(Context $context) : void
Parameters
$context : Context

The context object for the site

Return values
void

log()

Return the log requirements array from the child

public final log(string $bean) : bool
Parameters
$bean : string

The name of a bean

Return values
bool

permissions()

Return the permission requirements array from the child

public final permissions(string $which[, array<string|int, mixed> $system = [] ]) : array<string|int, string>
Parameters
$which : string

The permissions required

$system : array<string|int, mixed> = []
Return values
array<string|int, string>

Search results