Copied!
Cloneable Instantiable
Methods
public __construct ( string $name , string $confirmQuestion = '' )
 

Set up an AJAX callback

public addFunction ( string $function , string $script ) : PHPFUI\AJAX
 

Add a function parameter and the script that matches the
parameter type according to jQuery.ajax

public execute ( array $parameters ) : string
 

Return JavaScript that will execute a function call

  • return string of JavaScript code to be added to the page
public getPageJS () : string
 

Get the generated JavaScript function to be added to the
page.

  • return string JavaScript function
Properties
protected $conditions
protected $name
protected $question
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration