for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AbstractDialogLibrary.php
*
* Base class for javascript dialog library adapters.
* @package jaxon-core
* @author Thierry Feuzeu <[email protected]>
* @copyright 2016 Thierry Feuzeu <[email protected]>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-dialogs
*/
namespace Jaxon\Ui\Dialog\Library;
use Jaxon\Plugin\Response\Dialog\DialogPlugin;
abstract class AbstractDialogLibrary implements DialogLibraryInterface
{
use DialogLibraryTrait;
* Add a client side plugin command to the response object
* @param array $aAttributes The attributes of the command
* @param mixed $xData The data to be added to the command
* @return void
final public function addCommand(array $aAttributes, $xData)
$aAttributes['plg'] = $this->getName();
$this->xResponse->addCommand($aAttributes, $xData);
}
* @inheritDoc
public function getUri(): string
return 'https://cdn.jaxon-php.org/libs';
public function getSubdir(): string
return '';
public function getVersion(): string
public function getJs(): string
public function getCss(): string
public function getScript(): string
public function getReadyScript(): string